Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1486)

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java

Issue 477133006: Reintroduce getViewportSizeOffsetWidth/HeightPix for downstream callers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
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 9ea18212eb3dba253af4792e97a509adc96ba698..51546edc5b316f8b3d0f4d90dbec48a71d4a5f6a 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..
*/
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698