Chromium Code Reviews| Index: Source/WebKit/chromium/public/WebWidgetClient.h |
| diff --git a/Source/WebKit/chromium/public/WebWidgetClient.h b/Source/WebKit/chromium/public/WebWidgetClient.h |
| index b4fb217f9a2e0f0819a4603230064dc3a0d15a18..9634287a9c5f0096e7b038752497d618536ea46c 100644 |
| --- a/Source/WebKit/chromium/public/WebWidgetClient.h |
| +++ b/Source/WebKit/chromium/public/WebWidgetClient.h |
| @@ -41,6 +41,7 @@ namespace WebKit { |
| class WebString; |
| class WebWidget; |
| struct WebCursorInfo; |
| +struct WebSize; |
| class WebWidgetClient { |
| public: |
| @@ -104,6 +105,10 @@ public: |
| virtual WebRect windowRect() { return WebRect(); } |
| virtual void setWindowRect(const WebRect&) { } |
| + // Called to indicate that the Widget has changed size as a result of an |
| + // auto size. |
| + virtual void setSize(const WebSize&) { } |
|
darin (slow to review)
2011/11/30 23:29:05
didResize or didChangeSize seems better to me.
levin
2011/12/01 20:23:45
Made it didAutoResize to reflect the fact that it
|
| + |
| // Called when a tooltip should be shown at the current cursor position. |
| virtual void setToolTipText(const WebString&, WebTextDirection hint) { } |