| 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 6948db4991a46e1b9a1f312a5bdc7f1f9a3e2079..f601d03ea241713f64c503cfa8ec5adcac0e8b6b 100644
|
| --- a/content/browser/renderer_host/render_widget_host_delegate.h
|
| +++ b/content/browser/renderer_host/render_widget_host_delegate.h
|
| @@ -141,6 +141,18 @@ class CONTENT_EXPORT RenderWidgetHostDelegate {
|
| virtual RenderWidgetHostImpl* GetFocusedRenderWidgetHost(
|
| RenderWidgetHostImpl* receiving_widget);
|
|
|
| + // Get the RenderWidgetHost that should receive page level focus events. This
|
| + // will be the widget that is rendering the main frame of the currently
|
| + // focused WebContents.
|
| + virtual RenderWidgetHostImpl* GetRenderWidgetHostWithPageFocus();
|
| +
|
| + // In cases with multiple RenderWidgetHosts involved in rendering a page, only
|
| + // one widget should be focused and active. This ensures that
|
| + // |render_widget_host| is focused and that its owning WebContents is also
|
| + // focused.
|
| + virtual void EnsureOwningContentsIsFocused(
|
| + RenderWidgetHostImpl* render_widget_host) {}
|
| +
|
| // Notification that the renderer has become unresponsive. The
|
| // delegate can use this notification to show a warning to the user.
|
| virtual void RendererUnresponsive(RenderWidgetHostImpl* render_widget_host,
|
|
|