Index: public/web/WebWidget.h |
diff --git a/public/web/WebWidget.h b/public/web/WebWidget.h |
index bc9d4467b2fe0607fb7b6a428ffadd00e6bd4cf0..554df39f6a12de1a18d322664b485aec389f9dfe 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 |
Rick Byers
2015/02/07 03:13:52
nit: it's not clear that height here is a normaliz
aelias_OOO_until_Jul13
2015/02/07 03:32:08
Height is still an absolute value here. The one t
|
+ // the embedder shrunk the WebView size by the top controls height. |
+ virtual void setTopControlsHeight(float height, bool topControlsShrinkLayoutSize) { } |
+ |
protected: |
~WebWidget() { } |
}; |