Title: [210727] trunk/Source/WebCore
- Revision
- 210727
- Author
- timothy_hor...@apple.com
- Date
- 2017-01-12 23:36:54 -0800 (Thu, 12 Jan 2017)
Log Message
Keyboard accessory bar can appear on top of full-screen video
https://bugs.webkit.org/show_bug.cgi?id=166902
<rdar://problem/29668223>
Reviewed by Darin Adler.
* platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
(WebVideoFullscreenInterfaceAVKit::setupFullscreen):
Increase the full-screen video window level to one above the keyboard,
to ensure that the video is never obscured by the keyboard or its
accessory views.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (210726 => 210727)
--- trunk/Source/WebCore/ChangeLog 2017-01-13 07:12:00 UTC (rev 210726)
+++ trunk/Source/WebCore/ChangeLog 2017-01-13 07:36:54 UTC (rev 210727)
@@ -1,3 +1,17 @@
+2017-01-12 Tim Horton <timothy_hor...@apple.com>
+
+ Keyboard accessory bar can appear on top of full-screen video
+ https://bugs.webkit.org/show_bug.cgi?id=166902
+ <rdar://problem/29668223>
+
+ Reviewed by Darin Adler.
+
+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ (WebVideoFullscreenInterfaceAVKit::setupFullscreen):
+ Increase the full-screen video window level to one above the keyboard,
+ to ensure that the video is never obscured by the keyboard or its
+ accessory views.
+
2017-01-12 Joseph Pecoraro <pecor...@apple.com>
Remove unnecessary includes of Page.h
Modified: trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm (210726 => 210727)
--- trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm 2017-01-13 07:12:00 UTC (rev 210726)
+++ trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm 2017-01-13 07:36:54 UTC (rev 210727)
@@ -73,6 +73,7 @@
SOFT_LINK_CLASS(UIKit, UIView)
SOFT_LINK_CLASS(UIKit, UIViewController)
SOFT_LINK_CLASS(UIKit, UIColor)
+SOFT_LINK_CONSTANT(UIKit, UIRemoteKeyboardLevel, UIWindowLevel)
#if !LOG_DISABLED
static const char* boolString(bool val)
@@ -606,6 +607,7 @@
[[m_viewController view] setFrame:[m_window bounds]];
[m_viewController _setIgnoreAppSupportedOrientations:YES];
[m_window setRootViewController:m_viewController.get()];
+ [m_window setWindowLevel:getUIRemoteKeyboardLevel() + 1];
[m_window makeKeyAndVisible];
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes