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

Unified Diff: ui/android/java/src/org/chromium/ui/base/ViewAndroidDelegate.java

Issue 2804953003: Refactor ContentViewClient (6/6) (Closed)
Patch Set: rebase Created 3 years, 8 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
Index: ui/android/java/src/org/chromium/ui/base/ViewAndroidDelegate.java
diff --git a/ui/android/java/src/org/chromium/ui/base/ViewAndroidDelegate.java b/ui/android/java/src/org/chromium/ui/base/ViewAndroidDelegate.java
index e4eb367d0688f66415677b543de496da4f074b65..d99f612d6b2770436574b97a96f73aef32a66a33 100644
--- a/ui/android/java/src/org/chromium/ui/base/ViewAndroidDelegate.java
+++ b/ui/android/java/src/org/chromium/ui/base/ViewAndroidDelegate.java
@@ -123,6 +123,17 @@ public abstract class ViewAndroidDelegate {
public void onBottomControlsChanged(float bottomControlsOffsetY, float bottomContentOffsetY) {}
/**
+ * Returns the bottom system window inset in pixels. The system window inset represents the area
+ * of a full-screen window that is partially or fully obscured by the status bar, navigation
+ * bar, IME or other system windows.
+ * @return The bottom system window inset.
+ */
+ @CalledByNative
+ public int getSystemWindowInsetBottom() {
+ return 0;
+ }
+
+ /**
* @return container view that the anchor views are added to. May be null.
*/
@CalledByNative

Powered by Google App Engine
This is Rietveld 408576698