| Index: content/browser/renderer_host/render_view_host.h
|
| diff --git a/content/browser/renderer_host/render_view_host.h b/content/browser/renderer_host/render_view_host.h
|
| index 468688eec80c076a3953acf9e2dce3d286a4a0fd..8d62b8fac763e8b5f7591f56db32eb0762ca1fc0 100644
|
| --- a/content/browser/renderer_host/render_view_host.h
|
| +++ b/content/browser/renderer_host/render_view_host.h
|
| @@ -442,6 +442,10 @@ class CONTENT_EXPORT RenderViewHost : public RenderWidgetHost {
|
| // Instructs the RenderView to send back updates to the preferred size.
|
| void EnablePreferredSizeMode();
|
|
|
| + // Instructs the RenderView to automatically resize and send back updates
|
| + // for the new size.
|
| + void EnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size);
|
| +
|
| // Executes custom context menu action that was provided from WebKit.
|
| void ExecuteCustomContextMenuCommand(
|
| int action, const webkit_glue::CustomContextMenuContext& context);
|
| @@ -495,6 +499,7 @@ class CONTENT_EXPORT RenderViewHost : public RenderWidgetHost {
|
| virtual void OnUserGesture() OVERRIDE;
|
| virtual void NotifyRendererUnresponsive() OVERRIDE;
|
| virtual void NotifyRendererResponsive() OVERRIDE;
|
| + virtual void OnRenderAutoResized(const gfx::Size& size) OVERRIDE;
|
| virtual void RequestToLockMouse() OVERRIDE;
|
| virtual bool IsFullscreen() const OVERRIDE;
|
| virtual void OnMsgFocus() OVERRIDE;
|
|
|