| Index: Source/WebKit/chromium/public/WebViewClient.h
|
| diff --git a/Source/WebKit/chromium/public/WebViewClient.h b/Source/WebKit/chromium/public/WebViewClient.h
|
| index 62c7b4d49d7f73ad88b69e78e7bbd3d14bd9a695..bad084066786a837fc6868e81f725ec16ae8689b 100644
|
| --- a/Source/WebKit/chromium/public/WebViewClient.h
|
| +++ b/Source/WebKit/chromium/public/WebViewClient.h
|
| @@ -73,6 +73,7 @@ struct WebConsoleMessage;
|
| struct WebContextMenuData;
|
| struct WebPoint;
|
| struct WebPopupMenuInfo;
|
| +struct WebSize;
|
| struct WebWindowFeatures;
|
|
|
| // Since a WebView is a WebWidget, a WebViewClient is a WebWidgetClient.
|
| @@ -246,6 +247,16 @@ public:
|
|
|
| virtual void numberOfWheelEventHandlersChanged(unsigned) { }
|
|
|
| + // Call when the size of the view automatically changed.
|
| + virtual void autoSizeChanged(const WebSize&) { }
|
| +
|
| + // Indicates two things:
|
| + // 1) The view may have a new layout now.
|
| + // 2) Calling layout() is a no-op.
|
| + // After calling WebView::layout(), expect to get this notification
|
| + // for the view unless the view did not need a layout.
|
| + virtual void didUpdateLayout() { }
|
| +
|
| // Session history -----------------------------------------------------
|
|
|
| // Tells the embedder to navigate back or forward in session history by
|
|
|