| 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 a365740d33cf2b5efc4a18bcfde39d8794c092f5..d5b89bc6586b6da34c0c5f8ffd264a9cae161e1a 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
|
| @@ -43,12 +43,18 @@ public class ContentViewClient {
|
| }
|
|
|
| /**
|
| - * Notifies the client that the position of the top controls has changed.
|
| - * @param topControlsOffsetYPix The Y offset of the top controls in physical pixels.
|
| - * @param contentOffsetYPix The Y offset of the content in physical pixels.
|
| + * 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 onOffsetsForFullscreenChanged(
|
| - float topControlsOffsetYPix, float contentOffsetYPix) { }
|
| + 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) { }
|
|
|
| public boolean shouldOverrideKeyEvent(KeyEvent event) {
|
| int keyCode = event.getKeyCode();
|
|
|