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..0b984e0f1a41cf8c9c197f92d4009d997e9e1b5c 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 topBarTranslate The Y offset of the top controls in physical pixels. |
+ * @param topBarShown The Y offset of the content in physical pixels. |
*/ |
- public void onOffsetsForFullscreenChanged( |
- float topControlsOffsetYPix, float contentOffsetYPix) { } |
+ public void onTopControlsChanged(float topBarTranslate, float topBarShown) { } |
+ |
+ /** |
+ * Notifies the client of the position of the bottom controls. |
+ * @param bottomBarTranslate The Y offset of the bottom controls in physical pixels. |
+ * @param bottomBarShown The Y offset of the content in physical pixels. |
+ */ |
+ public void onBottomControlsChanged(float bottomBarTranslate, float bottomBarShown) { } |
public boolean shouldOverrideKeyEvent(KeyEvent event) { |
int keyCode = event.getKeyCode(); |