Chromium Code Reviews| Index: content/browser/web_contents/web_contents_impl.h |
| diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
| index c9e3649b0621769ed721702b16df5913fc23d2ab..bfa64b8889144c539495109c799385bf18faa460 100644 |
| --- a/content/browser/web_contents/web_contents_impl.h |
| +++ b/content/browser/web_contents/web_contents_impl.h |
| @@ -654,6 +654,8 @@ class CONTENT_EXPORT WebContentsImpl |
| void ReplicatePageFocus(bool is_focused) override; |
| RenderWidgetHostImpl* GetFocusedRenderWidgetHost( |
| RenderWidgetHostImpl* receiving_widget) override; |
| + void EnsureOwningContentsIsFocused( |
| + RenderWidgetHostImpl* render_widget_host) override; |
| void RendererUnresponsive(RenderWidgetHostImpl* render_widget_host, |
| RendererUnresponsiveType type) override; |
| void RendererResponsive(RenderWidgetHostImpl* render_widget_host) override; |
| @@ -1017,6 +1019,10 @@ class CONTENT_EXPORT WebContentsImpl |
| // Returns the root of the WebContents tree. |
| WebContentsImpl* GetOutermostWebContents(); |
| + // Become the focused WebContentsImpl. This will activate this content's |
| + // RenderWidget and direct keyboard input to it. |
|
alexmos
2016/10/28 06:36:39
I'd also mention what happens to |old_contents|.
avallee
2016/10/28 19:19:57
Done.
|
| + void ChangeFocus(WebContentsImpl* old_contents); |
| + |
| // Navigation helpers -------------------------------------------------------- |
| // |
| // These functions are helpers for Navigate() and DidNavigate(). |