Commit 36413e0b authored by mitz@apple.com's avatar mitz@apple.com

WebKit/mac: WebKit part of making the appearance of the full-screen video HUD match

QuickTime Player X’s HUD.

Reviewed by John Sullivan.

* WebView/WebVideoFullscreenHUDWindowController.h: Removed unnecessary
#import statements, cleaned up style, and changed _timeline,
_volumeSlider and _playButton to have more specific types.
* WebView/WebVideoFullscreenHUDWindowController.mm: Updated #import
statements.
(webkit_CGFloor): Added this helper function.
(-[WebVideoFullscreenHUDWindowController init]): Cleaned up style.
(createTimeTextField): Changed to use the bold system font.
(-[WebVideoFullscreenHUDWindowController windowDidLoad]): Changed the
subviews’ metrics and the text fields’ text alignment.
(-[WebVideoFullscreenHUDWindowController updateTime]): Avoid conversion
from double to float.
(stringToTimeTextAttributed): Removed this useless function that
returned an NSAttributedString masquerading as an NSString.
(-[WebVideoFullscreenHUDWindowController remainingTimeText]): Removed
call to stringToTimeTextAttributed().
(-[WebVideoFullscreenHUDWindowController elapsedTimeText]): Ditto.

WebKitLibraries: WebKitSystemInterface part of making the appearance of the full-screen video HUD match
QuickTime Player X’s HUD.

Reviewed by John Sullivan.

* libWebKitSystemInterfaceLeopard.a:
* libWebKitSystemInterfaceSnowLeopard.a:
* libWebKitSystemInterfaceTiger.a:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50410 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 60f0160e
2009-11-02 Dan Bernstein <mitz@apple.com>
Reviewed by John Sullivan.
WebKit part of making the appearance of the full-screen video HUD match
QuickTime Player X’s HUD.
* WebView/WebVideoFullscreenHUDWindowController.h: Removed unnecessary
#import statements, cleaned up style, and changed _timeline,
_volumeSlider and _playButton to have more specific types.
* WebView/WebVideoFullscreenHUDWindowController.mm: Updated #import
statements.
(webkit_CGFloor): Added this helper function.
(-[WebVideoFullscreenHUDWindowController init]): Cleaned up style.
(createTimeTextField): Changed to use the bold system font.
(-[WebVideoFullscreenHUDWindowController windowDidLoad]): Changed the
subviews’ metrics and the text fields’ text alignment.
(-[WebVideoFullscreenHUDWindowController updateTime]): Avoid conversion
from double to float.
(stringToTimeTextAttributed): Removed this useless function that
returned an NSAttributedString masquerading as an NSString.
(-[WebVideoFullscreenHUDWindowController remainingTimeText]): Removed
call to stringToTimeTextAttributed().
(-[WebVideoFullscreenHUDWindowController elapsedTimeText]): Ditto.
2009-11-02 Chris Fleizach <cfleizach@apple.com>
Reviewed by Beth Dakin.
......
......@@ -25,13 +25,14 @@
#if ENABLE(VIDEO)
#import <Cocoa/Cocoa.h>
#import <WebCore/HTMLMediaElement.h>
namespace WebCore {
class HTMLMediaElement;
}
@protocol WebVideoFullscreenHUDWindowControllerDelegate;
@interface WebVideoFullscreenHUDWindowController : NSWindowController {
@private
@interface WebVideoFullscreenHUDWindowController : NSWindowController
{
id<WebVideoFullscreenHUDWindowControllerDelegate> _delegate;
NSTimer *_timelineUpdateTimer;
#if !defined(BUILDING_ON_TIGER)
......@@ -40,12 +41,13 @@
BOOL _mouseIsInHUD;
BOOL _isEndingFullscreen;
NSControl *_timeline;
NSSlider *_timeline;
NSTextField *_remainingTimeText;
NSTextField *_elapsedTimeText;
NSControl *_volumeSlider;
NSControl *_playButton;
NSSlider *_volumeSlider;
NSButton *_playButton;
}
- (id<WebVideoFullscreenHUDWindowControllerDelegate>)delegate;
- (void)setDelegate:(id<WebVideoFullscreenHUDWindowControllerDelegate>)delegate;
- (void)fadeWindowIn;
......
2009-11-02 Dan Bernstein <mitz@apple.com>
Reviewed by John Sullivan.
WebKitSystemInterface part of making the appearance of the full-screen video HUD match
QuickTime Player X’s HUD.
* libWebKitSystemInterfaceLeopard.a:
* libWebKitSystemInterfaceSnowLeopard.a:
* libWebKitSystemInterfaceTiger.a:
2009-10-26 Mark Rowe <mrowe@apple.com>
Reviewed by Adam Roben.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment