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

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

Issue 1386403003: Resize only the virtual viewport when the OSK triggers a resize. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/InsetConsumerView/InsetObserverView Created 4 years, 9 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: content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
index ccf76b05cd88a8579f65f51ea35705c373c54366..57990f64720fc49bda1b003faa2036fb0c15f474 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
@@ -213,4 +213,44 @@ public class ContentViewClient {
public int getDesiredHeightMeasureSpec() {
return UNSPECIFIED_MEASURE_SPEC;
}
+
+ /**
+ * Returns the left 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 left system window inset.
+ */
+ public int getSystemWindowInsetLeft() {
+ return 0;
+ }
+
+ /**
+ * Returns the top 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 top system window inset.
+ */
+ public int getSystemWindowInsetTop() {
+ return 0;
+ }
+
+ /**
+ * Returns the right 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 right system window inset.
+ */
+ public int getSystemWindowInsetRight() {
+ return 0;
+ }
+
+ /**
+ * 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.
+ */
+ public int getSystemWindowInsetBottom() {
+ return 0;
+ }
}

Powered by Google App Engine
This is Rietveld 408576698