Changeset 201530 in webkit
- Timestamp:
- May 31, 2016, 2:59:03 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
-
Source/WebKit2/ChangeLog (modified) (1 diff)
-
Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm (modified) (1 diff)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj (modified) (6 diffs)
-
Tools/TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.html (added)
-
Tools/TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.mm (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r201519 r201530 1 2016-05-31 Jer Noble <jer.noble@apple.com> 2 3 REGRESSION (r201405): trailers.apple.com HUD is missing in fullscreen 4 https://bugs.webkit.org/show_bug.cgi?id=158156 5 <rdar://problem/26519589> 6 7 Reviewed by Darin Adler. 8 9 Only increase the frame of the webView (to account for top content inset) in one dimension. 10 11 * UIProcess/mac/WKFullScreenWindowController.mm: 12 (-[WKFullScreenWindowController enterFullScreen:]): 13 1 14 2016-05-31 Chris Dumez <cdumez@apple.com> 2 15 -
trunk/Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm
r201405 r201530 241 241 NSView *contentView = [[self window] contentView]; 242 242 [_clipView addSubview:_webView positioned:NSWindowBelow relativeTo:nil]; 243 _webView.frame = NSInsetRect(contentView.bounds, 0, -_page->topContentInset()); 243 NSRect contentViewBounds = contentView.bounds; 244 contentViewBounds.size.height += _page->topContentInset(); 245 _webView.frame = contentViewBounds; 244 246 245 247 makeResponderFirstResponderIfDescendantOfView(self.window, webWindowFirstResponder, _webView); -
trunk/Tools/ChangeLog
r201517 r201530 1 2016-05-31 Jer Noble <jer.noble@apple.com> 2 3 REGRESSION (r201405): trailers.apple.com HUD is missing in fullscreen 4 https://bugs.webkit.org/show_bug.cgi?id=158156 5 <rdar://problem/26519589> 6 7 Reviewed by Darin Adler. 8 9 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: 10 * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.html: Added. 11 * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.mm: Added. 12 (-[FullscreenChangeMessageHandler userContentController:didReceiveScriptMessage:]): 13 (TestWebKitAPI::TEST): 14 1 15 2016-05-31 Jon Lee <jonlee@apple.com> 2 16 -
trunk/Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
r201461 r201530 366 366 CDC8E4961BC6F10800594FEC /* video-without-audio.html in Copy Resources */ = {isa = PBXBuildFile; fileRef = CDC8E48B1BC5C96200594FEC /* video-without-audio.html */; }; 367 367 CDC8E4971BC6F10800594FEC /* video-without-audio.mp4 in Copy Resources */ = {isa = PBXBuildFile; fileRef = CDC8E48C1BC5C96200594FEC /* video-without-audio.mp4 */; }; 368 CDE195B41CFE0ADE0053D256 /* FullscreenTopContentInset.mm in Sources */ = {isa = PBXBuildFile; fileRef = CDE195B31CFE0ADE0053D256 /* FullscreenTopContentInset.mm */; }; 369 CDE195B51CFE0B880053D256 /* FullscreenTopContentInset.html in Copy Resources */ = {isa = PBXBuildFile; fileRef = CDE195B21CFE0ADE0053D256 /* FullscreenTopContentInset.html */; }; 368 370 CE14F1A4181873B0001C2705 /* WillPerformClientRedirectToURLCrash.html in Copy Resources */ = {isa = PBXBuildFile; fileRef = CE14F1A2181873B0001C2705 /* WillPerformClientRedirectToURLCrash.html */; }; 369 371 CE3524F81B1431F60028A7C5 /* TextFieldDidBeginAndEndEditing_Bundle.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CE3524F21B142B8D0028A7C5 /* TextFieldDidBeginAndEndEditing_Bundle.cpp */; }; … … 430 432 51714EB41CF8C78C004723C4 /* WebProcessKillIDBCleanup-1.html in Copy Resources */, 431 433 51714EB51CF8C78C004723C4 /* WebProcessKillIDBCleanup-2.html in Copy Resources */, 434 CDE195B51CFE0B880053D256 /* FullscreenTopContentInset.html in Copy Resources */, 432 435 93CFA8671CEB9E38000565A8 /* autofocused-text-input.html in Copy Resources */, 433 436 93625D271CD9741C006DC1F1 /* large-video-without-audio.html in Copy Resources */, … … 907 910 CDC8E48B1BC5C96200594FEC /* video-without-audio.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = "video-without-audio.html"; sourceTree = "<group>"; }; 908 911 CDC8E48C1BC5C96200594FEC /* video-without-audio.mp4 */ = {isa = PBXFileReference; lastKnownFileType = file; path = "video-without-audio.mp4"; sourceTree = "<group>"; }; 912 CDE195B21CFE0ADE0053D256 /* FullscreenTopContentInset.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = FullscreenTopContentInset.html; sourceTree = "<group>"; }; 913 CDE195B31CFE0ADE0053D256 /* FullscreenTopContentInset.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = FullscreenTopContentInset.mm; sourceTree = "<group>"; }; 909 914 CE14F1A2181873B0001C2705 /* WillPerformClientRedirectToURLCrash.html */ = {isa = PBXFileReference; lastKnownFileType = text.html; path = WillPerformClientRedirectToURLCrash.html; sourceTree = "<group>"; }; 910 915 CE32C7C718184C4900CD8C28 /* WillPerformClientRedirectToURLCrash.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WillPerformClientRedirectToURLCrash.mm; sourceTree = "<group>"; }; … … 1065 1070 2D8104CB1BEC13E70020DA46 /* FindInPage.mm */, 1066 1071 2D1FE0AF1AD465C1006CD9E6 /* FixedLayoutSize.mm */, 1072 CDE195B31CFE0ADE0053D256 /* FullscreenTopContentInset.mm */, 1067 1073 51BCEE491C84F4AF0042C82E /* IndexedDBMultiProcess.mm */, 1068 1074 51B1EE8D1C80F5880064FB98 /* IndexedDBPersistence.mm */, … … 1163 1169 isa = PBXGroup; 1164 1170 children = ( 1171 CDE195B21CFE0ADE0053D256 /* FullscreenTopContentInset.html */, 1165 1172 A16F66B91C40EA2000BD4D24 /* ContentFiltering.html */, 1166 1173 5714ECB81CA8B58800051AC8 /* DownloadRequestOriginalURL.html */, … … 2020 2027 2E7765CD16C4D80A00BA2BB1 /* mainIOS.mm in Sources */, 2021 2028 2D8104CC1BEC13E70020DA46 /* FindInPage.mm in Sources */, 2029 CDE195B41CFE0ADE0053D256 /* FullscreenTopContentInset.mm in Sources */, 2022 2030 93E943F21CD3E87E00AC08C2 /* VideoControlsManager.mm in Sources */, 2023 2031 5798E2B01CAF5C2800C5CBA0 /* ProvisionalURLNotChange.mm in Sources */,
Note:
See TracChangeset
for help on using the changeset viewer.