WebKit/mac: WebKit part of making the appearance of the full-screen video HUD match
[WebKit-https.git] / WebKit / mac / WebView / WebVideoFullscreenHUDWindowController.h
index abc809220a1862d436bf63c19959180addcf6e05..34020e5a0a0afb75ed89ad8000fd46424bb70dd6 100644 (file)
 
 #if ENABLE(VIDEO)
 
 
 #if ENABLE(VIDEO)
 
-#import <Cocoa/Cocoa.h>
-#import <WebCore/HTMLMediaElement.h>
+namespace WebCore {
+    class HTMLMediaElement;
+}
 
 @protocol WebVideoFullscreenHUDWindowControllerDelegate;
 
 
 @protocol WebVideoFullscreenHUDWindowControllerDelegate;
 
-@interface WebVideoFullscreenHUDWindowController : NSWindowController {
-@private
+@interface WebVideoFullscreenHUDWindowController : NSWindowController
+{
     id<WebVideoFullscreenHUDWindowControllerDelegate> _delegate;
     NSTimer *_timelineUpdateTimer;
 #if !defined(BUILDING_ON_TIGER)
     NSTrackingArea *_area;
 #endif
     BOOL _mouseIsInHUD;
     id<WebVideoFullscreenHUDWindowControllerDelegate> _delegate;
     NSTimer *_timelineUpdateTimer;
 #if !defined(BUILDING_ON_TIGER)
     NSTrackingArea *_area;
 #endif
     BOOL _mouseIsInHUD;
+    BOOL _isEndingFullscreen;
 
 
-    NSControl *_timeline;
+    NSSlider *_timeline;
     NSTextField *_remainingTimeText;
     NSTextField *_elapsedTimeText;
     NSTextField *_remainingTimeText;
     NSTextField *_elapsedTimeText;
-    NSControl *_volumeSlider;
-    NSControl *_playButton;
+    NSSlider *_volumeSlider;
+    NSButton *_playButton;
 }
 }
+
 - (id<WebVideoFullscreenHUDWindowControllerDelegate>)delegate;
 - (void)setDelegate:(id<WebVideoFullscreenHUDWindowControllerDelegate>)delegate;
 - (void)fadeWindowIn;
 - (id<WebVideoFullscreenHUDWindowControllerDelegate>)delegate;
 - (void)setDelegate:(id<WebVideoFullscreenHUDWindowControllerDelegate>)delegate;
 - (void)fadeWindowIn;