| 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 82d09ea85aba6095b160d67ec5238c93b1586bb1..9b87ac26350ba9465148ef6b8bf73ce6a577a298 100644
|
| --- a/ui/android/java/src/org/chromium/ui/base/ViewAndroidDelegate.java
|
| +++ b/ui/android/java/src/org/chromium/ui/base/ViewAndroidDelegate.java
|
| @@ -105,6 +105,33 @@ public abstract class ViewAndroidDelegate {
|
| }
|
|
|
| /**
|
| + * 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;
|
| + }
|
| +
|
| + @CalledByNative
|
| + public void onBackgroundColorChanged(int color) { }
|
| +
|
| + /**
|
| + * Notifies the client of the position of the top controls.
|
| + * @param topControlsOffsetY The Y offset of the top controls in physical pixels.
|
| + * @param topContentOffsetY The Y offset of the content in physical pixels.
|
| + */
|
| + public void onTopControlsChanged(float topControlsOffsetY, float topContentOffsetY) { }
|
| +
|
| + /**
|
| + * Notifies the client of the position of the bottom controls.
|
| + * @param bottomControlsOffsetY The Y offset of the bottom controls in physical pixels.
|
| + * @param bottomContentOffsetY The Y offset of the content in physical pixels.
|
| + */
|
| + public void onBottomControlsChanged(float bottomControlsOffsetY, float bottomContentOffsetY) { }
|
| +
|
| + /**
|
| * @return container view that the anchor views are added to. May be null.
|
| */
|
| public abstract ViewGroup getContainerView();
|
|
|