Title: [161468] trunk/Source
Revision
161468
Author
aes...@apple.com
Date
2014-01-07 16:42:15 -0800 (Tue, 07 Jan 2014)

Log Message

[iOS] Upstream remainder of minimal-ui viewport changes
https://bugs.webkit.org/show_bug.cgi?id=126410

Reviewed by Sam Weinig.

Source/WebCore:

* dom/ViewportArguments.h:

Source/WebKit/ios:

* WebCoreSupport/WebChromeClientIOS.mm:
(dictionaryForViewportArguments):
* WebKit.iOS.exp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (161467 => 161468)


--- trunk/Source/WebCore/ChangeLog	2014-01-08 00:35:15 UTC (rev 161467)
+++ trunk/Source/WebCore/ChangeLog	2014-01-08 00:42:15 UTC (rev 161468)
@@ -1,3 +1,12 @@
+2014-01-02  Andy Estes  <aes...@apple.com>
+
+        [iOS] Upstream remainder of minimal-ui viewport changes
+        https://bugs.webkit.org/show_bug.cgi?id=126410
+
+        Reviewed by Sam Weinig.
+
+        * dom/ViewportArguments.h:
+
 2014-01-07  Victor Costan  <cos...@gmail.com>
 
         createElementNS handles element name 'xmlns' correctly.

Modified: trunk/Source/WebCore/dom/ViewportArguments.h (161467 => 161468)


--- trunk/Source/WebCore/dom/ViewportArguments.h	2014-01-08 00:35:15 UTC (rev 161467)
+++ trunk/Source/WebCore/dom/ViewportArguments.h	2014-01-08 00:42:15 UTC (rev 161468)
@@ -51,9 +51,6 @@
 
     float userScalable;
     float orientation;
-#if PLATFORM(IOS)
-    bool minimalUI;
-#endif
 };
 
 struct ViewportArguments {
@@ -115,6 +112,9 @@
     float maxZoom;
     float userZoom;
     float orientation;
+#if PLATFORM(IOS)
+    bool minimalUI;
+#endif
 
     bool operator==(const ViewportArguments& other) const
     {

Modified: trunk/Source/WebKit/ios/ChangeLog (161467 => 161468)


--- trunk/Source/WebKit/ios/ChangeLog	2014-01-08 00:35:15 UTC (rev 161467)
+++ trunk/Source/WebKit/ios/ChangeLog	2014-01-08 00:42:15 UTC (rev 161468)
@@ -1,3 +1,14 @@
+2014-01-02  Andy Estes  <aes...@apple.com>
+
+        [iOS] Upstream remainder of minimal-ui viewport changes
+        https://bugs.webkit.org/show_bug.cgi?id=126410
+
+        Reviewed by Sam Weinig.
+
+        * WebCoreSupport/WebChromeClientIOS.mm:
+        (dictionaryForViewportArguments):
+        * WebKit.iOS.exp:
+
 2013-12-31  Andy Estes  <aes...@apple.com>
 
         [iOS] Upstream PLATFORM(IOS) changes to Source/WebKit/

Modified: trunk/Source/WebKit/ios/WebCoreSupport/WebChromeClientIOS.mm (161467 => 161468)


--- trunk/Source/WebKit/ios/WebCoreSupport/WebChromeClientIOS.mm	2014-01-08 00:35:15 UTC (rev 161467)
+++ trunk/Source/WebKit/ios/WebCoreSupport/WebChromeClientIOS.mm	2014-01-08 00:42:15 UTC (rev 161468)
@@ -162,7 +162,8 @@
               @"maximum-scale":@(arguments.maxZoom),
               @"user-scalable":@(arguments.userZoom),
               @"width":@(arguments.width),
-              @"height":@(arguments.height) };
+              @"height":@(arguments.height),
+              @"minimal-ui":@(arguments.minimalUI) };
 }
 
 void WebChromeClientIOS::dispatchViewportPropertiesDidChange(const WebCore::ViewportArguments& arguments) const

Modified: trunk/Source/WebKit/ios/WebKit.iOS.exp (161467 => 161468)


--- trunk/Source/WebKit/ios/WebKit.iOS.exp	2014-01-08 00:35:15 UTC (rev 161467)
+++ trunk/Source/WebKit/ios/WebKit.iOS.exp	2014-01-08 00:42:15 UTC (rev 161468)
@@ -20,6 +20,7 @@
 _WebViewportHeightKey
 _WebViewportInitialScaleKey
 _WebViewportMaximumScaleKey
+_WebViewportMinimalUIKey
 _WebViewportMinimumScaleKey
 _WebViewportUserScalableKey
 _WebViewportWidthKey
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to