Index: public/web/WebWidget.h |
diff --git a/public/web/WebWidget.h b/public/web/WebWidget.h |
index bc9d4467b2fe0607fb7b6a428ffadd00e6bd4cf0..752391e6b0e85d62f173a7d84bdcc061b8914e8a 100644 |
--- a/public/web/WebWidget.h |
+++ b/public/web/WebWidget.h |
@@ -271,9 +271,13 @@ public: |
// but not the select popup. |
virtual WebPagePopup* pagePopup() const { return 0; } |
- // Sets the height subtracted from the Widget to accomodate the top controls. |
+ // TODO(aelias): Delete this after Blink roll. |
virtual void setTopControlsLayoutHeight(float) { } |
+ // Notification about the top controls height. If the boolean is true, then |
+ // the viewport was shrunk by the top controls height as of the last Resize. |
+ virtual void setTopControlsHeight(float height, bool topControlsShrinkLayoutSize) { } |
+ |
protected: |
~WebWidget() { } |
}; |