Chromium Code Reviews| 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 620b0eed3c5748f46b6c73c56423b4020d8087b5..002136d962137020b7c706b96b955c0a8bb5a8d5 100644 |
| --- a/content/browser/renderer_host/render_widget_host_view_base.h |
| +++ b/content/browser/renderer_host/render_widget_host_view_base.h |
| @@ -64,6 +64,7 @@ class LatencyInfo; |
| namespace content { |
| class BrowserAccessibilityDelegate; |
| class BrowserAccessibilityManager; |
| +class RenderWidgetHostImpl; |
| class RenderWidgetHostViewBaseObserver; |
| class SyntheticGesture; |
| class SyntheticGestureTarget; |
| @@ -417,6 +418,10 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView, |
| // |text_input_manager_|. |
| TextInputManager* GetTextInputManager(); |
| + // This method returns the active widget form TextInputManager. If there are |
|
Charlie Reis
2016/08/04 19:56:50
s/form/from/
Also, do you mean "If there are no a
EhsanK
2016/08/04 22:29:55
I removed this from patch. But why I had it:
GetAc
|
| + // active widgets, this method will return the focused widget instead. |
| + RenderWidgetHostImpl* ActiveOrFocusedWidget() const; |
| + |
| // Whether this view is a popup and what kind of popup it is (select, |
| // autofill...). |
| blink::WebPopupType popup_type_; |