Index: chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/ContextualSearchSupportedLayout.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/ContextualSearchSupportedLayout.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/ContextualSearchSupportedLayout.java |
index 906b7a11eeb132c606066d446346fe491aadd04b..f98cd0ef22d4fd0dfd086a7c461e53066d24f3c1 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/ContextualSearchSupportedLayout.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/ContextualSearchSupportedLayout.java |
@@ -122,6 +122,16 @@ public abstract class ContextualSearchSupportedLayout extends Layout { |
final boolean isToolbarVisible = getHeight() - getHeightMinusTopControls() <= mHalfPixelDp; |
mPanelManager.onSizeChanged(width, height, isToolbarVisible); |
+ onSizeChanged(width, height); |
+ } |
+ |
+ /** |
+ * Handles the resizing of the view. |
+ * @param width The new width in dp. |
+ * @param height The new height in dp. |
+ */ |
+ protected void onSizeChanged(float width, float height) { |
+ // NOTE(pedrosimonetti): To be implemented by a supported Layout. |
} |
@Override |