diff options
author | aelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-22 16:07:04 +0000 |
---|---|---|
committer | aelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-22 16:08:48 +0000 |
commit | 8f3a9aa406112d2f25d004758ea2e16d3b562322 (patch) | |
tree | e2c2a810c8ffbe0a4b583cfc402559cd4424ed0d | |
parent | d74846edce4493c5b6a87c01124cc037b8c86b52 (diff) | |
download | chromium_src-8f3a9aa406112d2f25d004758ea2e16d3b562322.zip chromium_src-8f3a9aa406112d2f25d004758ea2e16d3b562322.tar.gz chromium_src-8f3a9aa406112d2f25d004758ea2e16d3b562322.tar.bz2 |
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
-rw-r--r-- | content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java index 9ea1821..51546ed 100644 --- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java +++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java @@ -931,6 +931,10 @@ public class ContentViewCore @CalledByNative 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.. */ |