Skip to content
Permalink
Browse files
[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:

Canonical link: https://commits.webkit.org/144505@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@161468 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
aestes committed Jan 8, 2014
1 parent 67e2d4e commit ad6668eb1056b5060e0b7069345cd604d548f78b
Showing 5 changed files with 26 additions and 4 deletions.
@@ -1,3 +1,12 @@
2014-01-02 Andy Estes <aestes@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 <costan@gmail.com>

createElementNS handles element name 'xmlns' correctly.
@@ -51,9 +51,6 @@ struct ViewportAttributes {

float userScalable;
float orientation;
#if PLATFORM(IOS)
bool minimalUI;
#endif
};

struct ViewportArguments {
@@ -115,6 +112,9 @@ struct ViewportArguments {
float maxZoom;
float userZoom;
float orientation;
#if PLATFORM(IOS)
bool minimalUI;
#endif

bool operator==(const ViewportArguments& other) const
{
@@ -1,3 +1,14 @@
2014-01-02 Andy Estes <aestes@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 <aestes@apple.com>

[iOS] Upstream PLATFORM(IOS) changes to Source/WebKit/
@@ -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
@@ -20,6 +20,7 @@ _WebQuickLookUTIKey
_WebViewportHeightKey
_WebViewportInitialScaleKey
_WebViewportMaximumScaleKey
_WebViewportMinimalUIKey
_WebViewportMinimumScaleKey
_WebViewportUserScalableKey
_WebViewportWidthKey

0 comments on commit ad6668e

Please sign in to comment.