Chromium Code Reviews| Index: content/browser/renderer_host/render_widget_host_delegate.h |
| diff --git a/content/browser/renderer_host/render_widget_host_delegate.h b/content/browser/renderer_host/render_widget_host_delegate.h |
| index a72360c42728ceeb3eabb72701806cbb68b1ea6b..8ccfd83495fdbe9ef77e7f520be8c7aef2079fa7 100644 |
| --- a/content/browser/renderer_host/render_widget_host_delegate.h |
| +++ b/content/browser/renderer_host/render_widget_host_delegate.h |
| @@ -177,7 +177,7 @@ class CONTENT_EXPORT RenderWidgetHostDelegate { |
| virtual void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host, |
| const std::vector<uint8_t>& proto) {} |
| - // Called when the visibility of the RenderFrameProxyHost in outter |
| + // Called when the visibility of the RenderFrameProxyHost in outer |
| // WebContents changes. This method is only called on an inner WebContents and |
| // will eventually notify all the RenderWidgetHostViews belonging to that |
| // WebContents. |
| @@ -194,6 +194,12 @@ class CONTENT_EXPORT RenderWidgetHostDelegate { |
| // Returns the TextInputManager tracking text input state. |
| virtual TextInputManager* GetTextInputManager(); |
| + // Returns true if this RenderWidgetHost should be hidden. This is used by the |
|
kenrb
2016/07/18 18:05:28
This is better. Maybe in the first sentence replac
lfg
2016/07/18 18:07:27
Done.
|
| + // RenderWidgetHost to ask the delegate if it can be shown in the event of |
| + // something other than the WebContents attempting to enable visibility of |
| + // this RenderWidgetHost. |
| + virtual bool IsHidden(); |
| + |
| protected: |
| virtual ~RenderWidgetHostDelegate() {} |
| }; |