Changeset 89271 in webkit
- Timestamp:
- Jun 20, 2011 12:29:39 PM (13 years ago)
- Location:
- trunk/Source
- Files:
-
- 11 edited
- 6 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r89269 r89271 1 2011-06-01 Jer Noble <jer.noble@apple.com> 2 3 Reviewed by Eric Carlson. 4 5 Move Full Screen Controllers into WebCore. 6 7 Remove dependency on QTKit from wekitExitFullscreen() 8 https://bugs.webkit.org/show_bug.cgi?id=61843 9 10 No new tests; the existing media full screen tests are sufficient. 11 12 * WebCore.exp.in: Add new exports. 13 * WebCore.xcodeproj/project.pbxproj: Add references to moved files. 14 * platform/mac/WebCoreSystemInterface.h: Add new WCSI interfaces to WKSI functions. 15 * platform/mac/WebCoreSystemInterface.mm: 16 * platform/mac/WebVideoFullscreenController.h: Renamed from Source/WebKit/mac/WebView/WebVideoFullscreenController.h. 17 * platform/mac/WebVideoFullscreenController.mm: Renamed from Source/WebKit/mac/WebView/WebVideoFullscreenController.mm. 18 19 The following functions have had UNUSED_PARAM added: 20 (-[WebVideoFullscreenController applicationDidResignActive:]): 21 (-[WebVideoFullscreenController applicationDidChangeScreenParameters:]): 22 (-[WebVideoFullscreenWindow mouseMoved:]): 23 24 Source/WebKit/mac/WebView/WebVideoFullscreenHUDWindowController.h. 25 * platform/mac/WebVideoFullscreenHUDWindowController.mm: Renamed from Source/WebKit/mac/WebView/WebVideoFullscreenHUDWindowController.mm. 26 27 The following functions have had UNUSED_PARAM added: 28 (-[WebVideoFullscreenHUDWindow cancelOperation:]): 29 (-[WebVideoFullscreenHUDWindowController timelinePositionChanged:]): 30 (-[WebVideoFullscreenHUDWindowController setVolumeToZero:]): 31 (-[WebVideoFullscreenHUDWindowController setVolumeToMaximum:]): 32 (-[WebVideoFullscreenHUDWindowController togglePlaying:]): 33 (-[WebVideoFullscreenHUDWindowController mouseEntered:]): 34 (-[WebVideoFullscreenHUDWindowController mouseExited:]): 35 (-[WebVideoFullscreenHUDWindowController rewind:]): 36 (-[WebVideoFullscreenHUDWindowController fastForward:]): 37 (-[WebVideoFullscreenHUDWindowController windowDidExpose:]): 38 (-[WebVideoFullscreenHUDWindowController windowDidClose:]): 39 40 The following functions have had WKSI calls converted to WCSI ones: 41 (createControlWithMediaUIControlType): 42 (createTimeTextField): 43 44 * platform/mac/WebWindowAnimation.h: Renamed from Source/WebKit/mac/WebView/WebWindowAnimation.h. 45 * platform/mac/WebWindowAnimation.mm: Renamed from Source/WebKit/mac/WebView/WebWindowAnimation.m. 46 (WebWindowAnimationDurationFromDuration): 47 48 The following functions have had WKSI calls converted to WCSI ones: 49 (-[WebWindowScaleAnimation setCurrentProgress:]): 50 (-[WebWindowFadeAnimation initWithDuration:window:initialAlpha:finalAlpha:]): 51 1 52 2011-06-20 Mark Pilgrim <pilgrim@chromium.org> 2 53 -
trunk/Source/WebCore/WebCore.exp.in
r89230 r89271 1349 1349 _wkCreateCTLineWithUniCharProvider 1350 1350 _wkCreateCustomCFReadStream 1351 _wkCreateMediaUIBackgroundView 1352 _wkCreateMediaUIControl 1351 1353 _wkCreateNSURLConnectionDelegateProxy 1352 1354 _wkCreatePrivateStorageSession … … 1419 1421 _wkSignalCFReadStreamHasBytes 1420 1422 _wkSignedPublicKeyAndChallengeString 1423 _wkWindowSetAlpha 1424 _wkWindowSetScaledFrame 1421 1425 1422 1426 #if ENABLE(DOM_STORAGE) … … 1830 1834 __ZNK7WebCore16HTMLMediaElement12playbackRateEv 1831 1835 __ZNK7WebCore16HTMLMediaElement8durationEv 1836 __ZN7WebCore16HTMLMediaElement16returnToRealtimeEv 1837 __ZNK7WebCore16HTMLMediaElement12isFullscreenEv 1838 .objc_class_name_WebVideoFullscreenController 1832 1839 #endif 1833 1840 -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r89220 r89271 5339 5339 CA3BF67C10D99BAE00E6CE53 /* ScrollAnimator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CA3BF67B10D99BAE00E6CE53 /* ScrollAnimator.cpp */; }; 5340 5340 CA3BF67E10D99BAE00E6CE53 /* ScrollAnimator.h in Headers */ = {isa = PBXBuildFile; fileRef = CA3BF67D10D99BAE00E6CE53 /* ScrollAnimator.h */; }; 5341 CD82030A1395AB6A00F956C6 /* WebVideoFullscreenController.h in Headers */ = {isa = PBXBuildFile; fileRef = CD8203061395AB6A00F956C6 /* WebVideoFullscreenController.h */; settings = {ATTRIBUTES = (Private, ); }; }; 5342 CD82030B1395AB6A00F956C6 /* WebVideoFullscreenController.mm in Sources */ = {isa = PBXBuildFile; fileRef = CD8203071395AB6A00F956C6 /* WebVideoFullscreenController.mm */; }; 5343 CD82030C1395AB6A00F956C6 /* WebVideoFullscreenHUDWindowController.h in Headers */ = {isa = PBXBuildFile; fileRef = CD8203081395AB6A00F956C6 /* WebVideoFullscreenHUDWindowController.h */; settings = {ATTRIBUTES = (Private, ); }; }; 5344 CD82030D1395AB6A00F956C6 /* WebVideoFullscreenHUDWindowController.mm in Sources */ = {isa = PBXBuildFile; fileRef = CD8203091395AB6A00F956C6 /* WebVideoFullscreenHUDWindowController.mm */; }; 5345 CD8203101395ACE700F956C6 /* WebWindowAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = CD82030E1395ACE700F956C6 /* WebWindowAnimation.h */; }; 5346 CD8203111395ACE700F956C6 /* WebWindowAnimation.mm in Sources */ = {isa = PBXBuildFile; fileRef = CD82030F1395ACE700F956C6 /* WebWindowAnimation.mm */; }; 5341 5347 CDEA7C841276230400B846DD /* RenderFullScreen.h in Headers */ = {isa = PBXBuildFile; fileRef = CDEA7C821276230400B846DD /* RenderFullScreen.h */; }; 5342 5348 CDEA7C851276230400B846DD /* RenderFullScreen.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CDEA7C831276230400B846DD /* RenderFullScreen.cpp */; }; … … 11961 11967 CA3BF67D10D99BAE00E6CE53 /* ScrollAnimator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScrollAnimator.h; sourceTree = "<group>"; }; 11962 11968 CD4E0AFA11F7BC27009D3811 /* fullscreen.css */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.css; path = fullscreen.css; sourceTree = "<group>"; }; 11969 CD8203061395AB6A00F956C6 /* WebVideoFullscreenController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebVideoFullscreenController.h; sourceTree = "<group>"; }; 11970 CD8203071395AB6A00F956C6 /* WebVideoFullscreenController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebVideoFullscreenController.mm; sourceTree = "<group>"; }; 11971 CD8203081395AB6A00F956C6 /* WebVideoFullscreenHUDWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebVideoFullscreenHUDWindowController.h; sourceTree = "<group>"; }; 11972 CD8203091395AB6A00F956C6 /* WebVideoFullscreenHUDWindowController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebVideoFullscreenHUDWindowController.mm; sourceTree = "<group>"; }; 11973 CD82030E1395ACE700F956C6 /* WebWindowAnimation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebWindowAnimation.h; sourceTree = "<group>"; }; 11974 CD82030F1395ACE700F956C6 /* WebWindowAnimation.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebWindowAnimation.mm; sourceTree = "<group>"; }; 11963 11975 CDBD93BA1333BD4B002570E3 /* fullscreenQuickTime.css */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.css; path = fullscreenQuickTime.css; sourceTree = "<group>"; }; 11964 11976 CDEA7C821276230400B846DD /* RenderFullScreen.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RenderFullScreen.h; sourceTree = "<group>"; }; … … 14241 14253 isa = PBXGroup; 14242 14254 children = ( 14255 CD82030E1395ACE700F956C6 /* WebWindowAnimation.h */, 14256 CD82030F1395ACE700F956C6 /* WebWindowAnimation.mm */, 14257 CD8203061395AB6A00F956C6 /* WebVideoFullscreenController.h */, 14258 CD8203071395AB6A00F956C6 /* WebVideoFullscreenController.mm */, 14259 CD8203081395AB6A00F956C6 /* WebVideoFullscreenHUDWindowController.h */, 14260 CD8203091395AB6A00F956C6 /* WebVideoFullscreenHUDWindowController.mm */, 14243 14261 51E1ECAD0C91C54600DC255B /* AutodrainedPool.mm */, 14244 14262 65A640F00533BB1F0085E777 /* BlockExceptions.h */, … … 22920 22938 767F99C011A119560080C51D /* WebSocketHandshakeResponse.h in Headers */, 22921 22939 0FCF332D0F2B9A25004B6795 /* WebTiledLayer.h in Headers */, 22940 CD82030A1395AB6A00F956C6 /* WebVideoFullscreenController.h in Headers */, 22941 CD82030C1395AB6A00F956C6 /* WebVideoFullscreenHUDWindowController.h in Headers */, 22942 CD8203101395ACE700F956C6 /* WebWindowAnimation.h in Headers */, 22922 22943 F55B3DE01251F12D003EF269 /* WeekInputType.h in Headers */, 22923 22944 85031B510A44EFC700F992E0 /* WheelEvent.h in Headers */, … … 25678 25699 767F99BE11A1194A0080C51D /* WebSocketHandshakeResponse.cpp in Sources */, 25679 25700 0FCF332C0F2B9A25004B6795 /* WebTiledLayer.mm in Sources */, 25701 CD82030B1395AB6A00F956C6 /* WebVideoFullscreenController.mm in Sources */, 25702 CD82030D1395AB6A00F956C6 /* WebVideoFullscreenHUDWindowController.mm in Sources */, 25703 CD8203111395ACE700F956C6 /* WebWindowAnimation.mm in Sources */, 25680 25704 F55B3DDF1251F12D003EF269 /* WeekInputType.cpp in Sources */, 25681 25705 85031B500A44EFC700F992E0 /* WheelEvent.cpp in Sources */, -
trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.h
r88316 r89271 71 71 @class NSArray; 72 72 @class NSButtonCell; 73 @class NSControl; 73 74 @class NSData; 74 75 @class NSDate; … … 86 87 @class NSURLResponse; 87 88 @class NSView; 89 @class NSWindow; 88 90 @class QTMovie; 89 91 @class QTMovieView; … … 92 94 class NSArray; 93 95 class NSButtonCell; 96 class NSControl; 94 97 class NSData; 95 98 class NSDate; … … 108 111 class NSURLResponse; 109 112 class NSView; 113 class NSWindow; 110 114 class QTMovie; 111 115 class QTMovieView; … … 152 156 extern BOOL (*wkHitTestMediaUIPart)(int part, int themeStyle, CGRect bounds, CGPoint point); 153 157 extern void (*wkMeasureMediaUIPart)(int part, int themeStyle, CGRect *bounds, CGSize *naturalSize); 158 extern NSView *(*wkCreateMediaUIBackgroundView)(void); 159 extern NSControl *(*wkCreateMediaUIControl)(int); 160 extern void (*wkWindowSetAlpha)(NSWindow *, float); 161 extern void (*wkWindowSetScaledFrame)(NSWindow *, NSRect, NSRect); 154 162 extern BOOL (*wkMediaControllerThemeAvailable)(int themeStyle); 155 163 extern void (*wkPopupMenu)(NSMenu*, NSPoint location, float width, NSView*, int selectedItem, NSFont*); -
trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.mm
r87328 r89271 47 47 void (*wkDrawMediaUIPart)(int part, int themeStyle, CGContextRef context, CGRect rect, unsigned state); 48 48 void (*wkMeasureMediaUIPart)(int part, int themeStyle, CGRect *bounds, CGSize *naturalSize); 49 NSView *(*wkCreateMediaUIBackgroundView)(void); 50 NSControl *(*wkCreateMediaUIControl)(int); 51 void (*wkWindowSetAlpha)(NSWindow *, float); 52 void (*wkWindowSetScaledFrame)(NSWindow *, NSRect, NSRect); 49 53 BOOL (*wkMediaControllerThemeAvailable)(int themeStyle); 50 54 NSString* (*wkGetPreferredExtensionForMIMEType)(NSString*); -
trunk/Source/WebCore/platform/mac/WebVideoFullscreenController.h
r89270 r89271 53 53 uint32_t _idleSystemSleepAssertion; 54 54 NSTimer *_tickleTimer; 55 SystemUIMode_savedUIMode;56 SystemUIOptions_savedUIOptions;55 uint32_t _savedUIMode; 56 uint32_t _savedUIOptions; 57 57 } 58 58 -
trunk/Source/WebCore/platform/mac/WebVideoFullscreenController.mm
r89270 r89271 24 24 */ 25 25 26 #import "config.h" 27 26 28 #if ENABLE(VIDEO) 27 29 28 30 #import "WebVideoFullscreenController.h" 29 31 30 #import "WebTypesInternal.h"31 32 #import "WebVideoFullscreenHUDWindowController.h" 32 33 #import "WebWindowAnimation.h" 34 #import <HIToolbox/MacApplication.h> 33 35 #import <IOKit/pwr_mgt/IOPMLib.h> 34 36 #import <OSServices/Power.h> … … 222 224 - (void)applicationDidResignActive:(NSNotification*)notification 223 225 { 226 UNUSED_PARAM(notification); 224 227 // Check to see if the fullscreenWindow is on the active space; this function is available 225 228 // on 10.6 and later, so default to YES if the function is not available: … … 328 331 - (void)applicationDidChangeScreenParameters:(NSNotification*)notification 329 332 { 333 UNUSED_PARAM(notification); 330 334 // The user may have changed the main screen by moving the menu bar, or they may have changed 331 335 // the Dock's size or location, or they may have changed the fullscreen screen's dimensions. … … 606 610 - (void)mouseMoved:(NSEvent *)theEvent 607 611 { 612 UNUSED_PARAM(theEvent); 608 613 [[self windowController] fadeHUDIn]; 609 614 } -
trunk/Source/WebCore/platform/mac/WebVideoFullscreenHUDWindowController.mm
r89270 r89271 23 23 */ 24 24 25 #import "config.h" 26 25 27 #if ENABLE(VIDEO) 26 28 27 29 #import "WebVideoFullscreenHUDWindowController.h" 28 30 29 #import "WebKitSystemInterface.h" 30 #import "WebTypesInternal.h" 31 #import "WebCoreSystemInterface.h" 31 32 #import <JavaScriptCore/RetainPtr.h> 32 33 #import <JavaScriptCore/UnusedParam.h> 33 34 #import <WebCore/HTMLMediaElement.h> 35 #import <WebKitSystemInterface.h> 34 36 35 37 using namespace WebCore; … … 103 105 - (void)cancelOperation:(id)sender 104 106 { 107 UNUSED_PARAM(sender); 105 108 [[self windowController] exitFullscreen:self]; 106 109 } … … 293 296 { 294 297 #ifdef HAVE_MEDIA_CONTROL 295 NSControl *control = WKCreateMediaUIControl(controlType);298 NSControl *control = wkCreateMediaUIControl(controlType); 296 299 [control setFrame:frame]; 297 300 return control; 298 301 #else 299 if (controlType == WKMediaUIControlSlider)302 if (controlType == wkMediaUIControlSlider) 300 303 return [[NSSlider alloc] initWithFrame:frame]; 301 304 return [[NSControl alloc] initWithFrame:frame]; … … 342 345 343 346 #ifdef HAVE_MEDIA_CONTROL 344 NSView *background = WKCreateMediaUIBackgroundView();347 NSView *background = wkCreateMediaUIBackgroundView(); 345 348 #else 346 349 NSView *background = [[NSView alloc] init]; … … 390 393 391 394 #ifdef HAVE_MEDIA_CONTROL 392 _timeline = WKCreateMediaUIControl(WKMediaUIControlTimeline);395 _timeline = wkCreateMediaUIControl(WKMediaUIControlTimeline); 393 396 #else 394 397 _timeline = [[NSSlider alloc] init]; … … 438 441 - (void)timelinePositionChanged:(id)sender 439 442 { 443 UNUSED_PARAM(sender); 440 444 [self setCurrentTime:[_timeline floatValue]]; 441 445 if (!_isScrubbing) { … … 476 480 - (void)volumeChanged:(id)sender 477 481 { 482 UNUSED_PARAM(sender); 478 483 [self setVolume:[_volumeSlider doubleValue]]; 479 484 } … … 481 486 - (void)setVolumeToZero:(id)sender 482 487 { 488 UNUSED_PARAM(sender); 483 489 [self setVolume:0]; 484 490 } … … 486 492 - (void)setVolumeToMaximum:(id)sender 487 493 { 494 UNUSED_PARAM(sender); 488 495 [self setVolume:[self maxVolume]]; 489 496 } … … 544 551 - (void)togglePlaying:(id)sender 545 552 { 553 UNUSED_PARAM(sender); 546 554 [self setPlaying:![self playing]]; 547 555 } … … 608 616 - (void)mouseEntered:(NSEvent *)theEvent 609 617 { 618 UNUSED_PARAM(theEvent); 610 619 // Make sure the HUD won't be hidden from now 611 620 _mouseIsInHUD = YES; … … 615 624 - (void)mouseExited:(NSEvent *)theEvent 616 625 { 626 UNUSED_PARAM(theEvent); 617 627 _mouseIsInHUD = NO; 618 628 [self fadeWindowIn]; … … 621 631 - (void)rewind:(id)sender 622 632 { 633 UNUSED_PARAM(sender); 623 634 if (![_delegate mediaElement]) 624 635 return; … … 628 639 - (void)fastForward:(id)sender 629 640 { 641 UNUSED_PARAM(sender); 630 642 if (![_delegate mediaElement]) 631 643 return; … … 634 646 - (void)exitFullscreen:(id)sender 635 647 { 648 UNUSED_PARAM(sender); 636 649 if (_isEndingFullscreen) 637 650 return; … … 644 657 - (void)windowDidExpose:(NSNotification *)notification 645 658 { 659 UNUSED_PARAM(notification); 646 660 [self scheduleTimeUpdate]; 647 661 } … … 649 663 - (void)windowDidClose:(NSNotification *)notification 650 664 { 665 UNUSED_PARAM(notification); 651 666 [self unscheduleTimeUpdate]; 652 667 } -
trunk/Source/WebCore/platform/mac/WebWindowAnimation.mm
r89270 r89271 24 24 */ 25 25 26 #import "config.h" 27 26 28 #import "WebWindowAnimation.h" 27 #import "Web KitSystemInterface.h"29 #import "WebCoreSystemInterface.h" 28 30 #import <wtf/Assertions.h> 31 #import <wtf/UnusedParam.h> 29 32 30 33 static const CGFloat slowMotionFactor = 10.; … … 111 114 112 115 NSRect currentRect = [self currentFrame]; 113 WKWindowSetScaledFrame(_window, currentRect, _realFrame);116 wkWindowSetScaledFrame(_window, currentRect, _realFrame); 114 117 [_subAnimation setCurrentProgress:progress]; 115 118 } … … 177 180 - (id)initWithDuration:(NSTimeInterval)duration window:(NSWindow *)window initialAlpha:(CGFloat)initialAlpha finalAlpha:(CGFloat)finalAlpha 178 181 { 182 UNUSED_PARAM(duration); 179 183 self = [self init]; 180 184 if (!self) … … 204 208 [super setCurrentProgress:progress]; 205 209 206 WKWindowSetAlpha(_window, [self currentAlpha]);210 wkWindowSetAlpha(_window, [self currentAlpha]); 207 211 } 208 212 -
trunk/Source/WebKit/ChangeLog
r88968 r89271 1 2011-06-01 Jer Noble <jer.noble@apple.com> 2 3 Reviewed by Eric Carlson. 4 5 Move Full Screen Controllers into WebCore. 6 7 Remove dependency on QTKit from wekitExitFullscreen() 8 https://bugs.webkit.org/show_bug.cgi?id=61843 9 10 WebVideoFullscreenController, WebVideoFullscreenHUDController, and WebWindowAnimation 11 have been moved into WebCore. 12 13 * WebKit.xcodeproj/project.pbxproj: 14 1 15 2011-06-15 David Kilzer <ddkilzer@apple.com> 2 16 -
trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj
r88968 r89271 21 21 0F30985F11ECFE4500F559DF /* WebRenderLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F30985D11ECFE4400F559DF /* WebRenderLayer.h */; settings = {ATTRIBUTES = (Private, ); }; }; 22 22 0F30986011ECFE4500F559DF /* WebRenderLayer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 0F30985E11ECFE4500F559DF /* WebRenderLayer.mm */; }; 23 0FD3B0F21076C3E900039B96 /* WebVideoFullscreenController.h in Headers */ = {isa = PBXBuildFile; fileRef = 0FD3B0EE1076C3E900039B96 /* WebVideoFullscreenController.h */; };24 0FD3B0F31076C3E900039B96 /* WebVideoFullscreenController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 0FD3B0EF1076C3E900039B96 /* WebVideoFullscreenController.mm */; };25 0FD3B0F41076C3E900039B96 /* WebVideoFullscreenHUDWindowController.h in Headers */ = {isa = PBXBuildFile; fileRef = 0FD3B0F01076C3E900039B96 /* WebVideoFullscreenHUDWindowController.h */; };26 0FD3B0F51076C3E900039B96 /* WebVideoFullscreenHUDWindowController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 0FD3B0F11076C3E900039B96 /* WebVideoFullscreenHUDWindowController.mm */; };27 0FD3B0F81076C3F700039B96 /* WebWindowAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 0FD3B0F61076C3F700039B96 /* WebWindowAnimation.h */; };28 0FD3B0F91076C3F700039B96 /* WebWindowAnimation.m in Sources */ = {isa = PBXBuildFile; fileRef = 0FD3B0F71076C3F700039B96 /* WebWindowAnimation.m */; };29 23 14D8252F0AF955090004F057 /* WebChromeClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 14D8252D0AF955090004F057 /* WebChromeClient.h */; }; 30 24 14D825300AF955090004F057 /* WebChromeClient.mm in Sources */ = {isa = PBXBuildFile; fileRef = 14D8252E0AF955090004F057 /* WebChromeClient.mm */; }; … … 405 399 0F30985D11ECFE4400F559DF /* WebRenderLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebRenderLayer.h; sourceTree = "<group>"; }; 406 400 0F30985E11ECFE4500F559DF /* WebRenderLayer.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebRenderLayer.mm; sourceTree = "<group>"; }; 407 0FD3B0EE1076C3E900039B96 /* WebVideoFullscreenController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebVideoFullscreenController.h; sourceTree = "<group>"; };408 0FD3B0EF1076C3E900039B96 /* WebVideoFullscreenController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebVideoFullscreenController.mm; sourceTree = "<group>"; };409 0FD3B0F01076C3E900039B96 /* WebVideoFullscreenHUDWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebVideoFullscreenHUDWindowController.h; sourceTree = "<group>"; };410 0FD3B0F11076C3E900039B96 /* WebVideoFullscreenHUDWindowController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebVideoFullscreenHUDWindowController.mm; sourceTree = "<group>"; };411 0FD3B0F61076C3F700039B96 /* WebWindowAnimation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebWindowAnimation.h; sourceTree = "<group>"; };412 0FD3B0F71076C3F700039B96 /* WebWindowAnimation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WebWindowAnimation.m; sourceTree = "<group>"; };413 401 14D8252D0AF955090004F057 /* WebChromeClient.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = WebChromeClient.h; sourceTree = "<group>"; }; 414 402 14D8252E0AF955090004F057 /* WebChromeClient.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = WebChromeClient.mm; sourceTree = "<group>"; }; … … 1255 1243 515E27CC0458C86500CA2D3A /* WebUIDelegate.h */, 1256 1244 65A7D44A0568AB2600E70EF6 /* WebUIDelegatePrivate.h */, 1257 0FD3B0EE1076C3E900039B96 /* WebVideoFullscreenController.h */,1258 0FD3B0EF1076C3E900039B96 /* WebVideoFullscreenController.mm */,1259 0FD3B0F01076C3E900039B96 /* WebVideoFullscreenHUDWindowController.h */,1260 0FD3B0F11076C3E900039B96 /* WebVideoFullscreenHUDWindowController.mm */,1261 1245 51A8B579042834F700CA2D3A /* WebView.h */, 1262 1246 51A8B57A042834F700CA2D3A /* WebView.mm */, … … 1266 1250 930D02BB06275F640076701E /* WebViewInternal.h */, 1267 1251 51A8B57D0428353A00CA2D3A /* WebViewPrivate.h */, 1268 0FD3B0F61076C3F700039B96 /* WebWindowAnimation.h */,1269 0FD3B0F71076C3F700039B96 /* WebWindowAnimation.m */,1270 1252 ); 1271 1253 name = WebView; … … 1629 1611 939810150824BF01008DF038 /* WebURLsWithTitles.h in Headers */, 1630 1612 C0C5B3EE1177A4A0002B0AEF /* WebUserContentURLPattern.h in Headers */, 1631 0FD3B0F21076C3E900039B96 /* WebVideoFullscreenController.h in Headers */,1632 0FD3B0F41076C3E900039B96 /* WebVideoFullscreenHUDWindowController.h in Headers */,1633 1613 939810700824BF01008DF038 /* WebView.h in Headers */, 1634 1614 BC2E464D0FD8A96800A9D9DE /* WebViewData.h in Headers */, … … 1636 1616 9398109B0824BF01008DF038 /* WebViewInternal.h in Headers */, 1637 1617 939810710824BF01008DF038 /* WebViewPrivate.h in Headers */, 1638 0FD3B0F81076C3F700039B96 /* WebWindowAnimation.h in Headers */,1639 1618 41F4484F10338E8C0030E55E /* WebWorkersPrivate.h in Headers */, 1640 1619 A5DEFC0B11D5331C00885273 /* WebSecurityOriginInternal.h in Headers */, … … 2009 1988 939810BE0824BF01008DF038 /* WebURLsWithTitles.m in Sources */, 2010 1989 C0C5B3EF1177A4A0002B0AEF /* WebUserContentURLPattern.mm in Sources */, 2011 0FD3B0F31076C3E900039B96 /* WebVideoFullscreenController.mm in Sources */,2012 0FD3B0F51076C3E900039B96 /* WebVideoFullscreenHUDWindowController.mm in Sources */,2013 1990 939811070824BF01008DF038 /* WebView.mm in Sources */, 2014 1991 BC2E464E0FD8A96800A9D9DE /* WebViewData.mm in Sources */, 2015 1992 BC97E7E210963D260010D361 /* WebViewEventHandling.mm in Sources */, 2016 1993 939810E80824BF01008DF038 /* WebViewFactory.mm in Sources */, 2017 0FD3B0F91076C3F700039B96 /* WebWindowAnimation.m in Sources */,2018 1994 41F4485010338E8C0030E55E /* WebWorkersPrivate.mm in Sources */, 2019 1995 A5DEFC0A11D5331C00885273 /* WebSecurityOrigin.mm in Sources */, -
trunk/Source/WebKit/mac/ChangeLog
r89216 r89271 1 2011-06-01 Jer Noble <jer.noble@apple.com> 2 3 Reviewed by Eric Carlson. 4 5 Move Full Screen Controllers into WebCore. 6 7 Remove dependency on QTKit from wekitExitFullscreen() 8 https://bugs.webkit.org/show_bug.cgi?id=61843 9 10 WebVideoFullscreenController, WebVideoFullscreenHUDController, and WebWindowAnimation 11 have been moved into WebCore. 12 13 * WebCoreSupport/WebSystemInterface.mm: 14 (InitWebCoreSystemInterface): Add support for four WKSI functions in WCSI. 15 * WebView/WebFullScreenController.mm: Remove unused #include. 16 * WebView/WebView.mm: Change the include location of 17 WebVideoFullscreenController.h 18 1 19 2011-06-18 Dimitri Glazkov <dglazkov@chromium.org> 2 20 -
trunk/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm
r87328 r89271 70 70 INIT(InitializeMaximumHTTPConnectionCountPerHost); 71 71 INIT(MeasureMediaUIPart); 72 INIT(CreateMediaUIBackgroundView); 73 INIT(CreateMediaUIControl); 74 INIT(WindowSetAlpha); 75 INIT(WindowSetScaledFrame); 72 76 INIT(MediaControllerThemeAvailable); 73 77 INIT(PopupMenu); -
trunk/Source/WebKit/mac/WebView/WebFullScreenController.mm
r87003 r89271 30 30 #import "WebNSWindowExtras.h" 31 31 #import "WebPreferencesPrivate.h" 32 #import "WebWindowAnimation.h"33 32 #import "WebViewInternal.h" 34 33 #import <IOKit/pwr_mgt/IOPMLib.h> -
trunk/Source/WebKit/mac/WebView/WebView.mm
r89207 r89271 104 104 #import "WebUIDelegate.h" 105 105 #import "WebUIDelegatePrivate.h" 106 #import "WebVideoFullscreenController.h"107 106 #import <CoreFoundation/CFSet.h> 108 107 #import <Foundation/NSURLConnection.h> … … 162 161 #import <WebCore/WebCoreObjCExtras.h> 163 162 #import <WebCore/WebCoreView.h> 163 #import <WebCore/WebVideoFullscreenController.h> 164 164 #import <WebCore/Widget.h> 165 165 #import <WebKit/DOM.h>
Note: See TracChangeset
for help on using the changeset viewer.