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..dfa69da0591b43324d98706bee44cec458f89324 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,48 @@ 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; |
+ } |
} |