Commit 8f3a9aa4 authored by aelias@chromium.org's avatar aelias@chromium.org

Reintroduce getViewportSizeOffsetWidth/HeightPix for downstream callers.

There was a downstream unit test package invoking these, not just native
callers.  In order to let downstream autoroll cleanly, bring them back for
now.  These can be deleted later in the same cleanup CL as the others.

NOTRY=true
TBR=tedchoc@chromium.org
BUG=406332

Review URL: https://codereview.chromium.org/477133006

Cr-Commit-Position: refs/heads/master@{#291420}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291420 0039d316-1c4b-4281-b951-d872f2087c98
parent d74846ed
...@@ -931,6 +931,10 @@ public class ContentViewCore ...@@ -931,6 +931,10 @@ public class ContentViewCore
@CalledByNative @CalledByNative
public int getPhysicalBackingHeightPix() { return mPhysicalBackingHeightPix; } public int getPhysicalBackingHeightPix() { return mPhysicalBackingHeightPix; }
/* TODO(aelias): Remove these when downstream callers disappear. */
public int getViewportSizeOffsetWidthPix() { return 0; }
public int getViewportSizeOffsetHeightPix() { return getTopControlsLayoutHeightPix(); }
/** /**
* @return The amount that the viewport size given to Blink is shrunk by the URL-bar.. * @return The amount that the viewport size given to Blink is shrunk by the URL-bar..
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment