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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/LayoutManagerHost.java

Issue 2524833002: Revert of CompositorViewHolder is source of truth for viewports (Closed)
Patch Set: Created 4 years, 1 month 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
Index: chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/LayoutManagerHost.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/LayoutManagerHost.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/LayoutManagerHost.java
index 27cdba3e85aa0fe3ed0df86f6d7e4c1a52e1d09f..f7063f1c9a25cf7566159d364ecd9ce87173f53a 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/LayoutManagerHost.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/LayoutManagerHost.java
@@ -5,7 +5,6 @@
package org.chromium.chrome.browser.compositor.layouts;
import android.content.Context;
-import android.graphics.RectF;
import android.view.View;
import org.chromium.chrome.browser.compositor.TitleCache;
@@ -44,24 +43,6 @@
* @return The height of the host view.
*/
int getHeight();
-
- /**
- * Get the window's viewport.
- * @param outRect The RectF object to write the result to.
- */
- void getWindowViewport(RectF outRect);
-
- /**
- * Get the visible viewport. This viewport accounts for the height of the browser controls.
- * @param outRect The RectF object to write the result to.
- */
- void getVisibleViewport(RectF outRect);
-
- /**
- * @return The height of the screen minus the height of the top and bottom browser controls
- * when not hidden.
- */
- float getHeightMinusBrowserControls();
/**
* @return The associated {@link LayoutRenderHost} to be used from the GL Thread.

Powered by Google App Engine
This is Rietveld 408576698