| Index: content/browser/renderer_host/render_widget_host_view_base.h
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h
|
| index 5bc917888e5766a6a63a2459e759934d8a036252..89c5a46e6f58ba64295f980d61ae1c7fe3f2bd31 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_base.h
|
| +++ b/content/browser/renderer_host/render_widget_host_view_base.h
|
| @@ -68,6 +68,7 @@ class BrowserAccessibilityManager;
|
| class RenderWidgetHostViewBaseObserver;
|
| class SyntheticGesture;
|
| class SyntheticGestureTarget;
|
| +class RenderWidgetHostImpl;
|
| class TextInputManager;
|
| class WebCursor;
|
| struct DidOverscrollParams;
|
| @@ -84,7 +85,11 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
|
| return current_device_scale_factor_;
|
| }
|
|
|
| + // Returns the focused RenderWidgetHost inside this |view|'s RWH.
|
| + RenderWidgetHostImpl* GetFocusedWidget() const;
|
| +
|
| // RenderWidgetHostView implementation.
|
| + RenderWidgetHost* GetRenderWidgetHost() const override;
|
| void SetBackgroundColor(SkColor color) override;
|
| void SetBackgroundColorToDefault() final;
|
| bool GetBackgroundOpaque() override;
|
| @@ -411,6 +416,10 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
|
| // |text_input_manager_|.
|
| TextInputManager* GetTextInputManager();
|
|
|
| + // Returns the the view which has a RWH and is currently accepting input
|
| + // events (focused).
|
| + RenderWidgetHostViewBase* GetFocusedAttachedSubView() const;
|
| +
|
| // Whether this view is a popup and what kind of popup it is (select,
|
| // autofill...).
|
| blink::WebPopupType popup_type_;
|
|
|