| Index: content/browser/renderer_host/text_input_manager.h
|
| diff --git a/content/browser/renderer_host/text_input_manager.h b/content/browser/renderer_host/text_input_manager.h
|
| index db2383bd9b1cfcd121783a72cae6666c0632ad63..0700d3241e1c584a5eb564b37cf3225e06741e34 100644
|
| --- a/content/browser/renderer_host/text_input_manager.h
|
| +++ b/content/browser/renderer_host/text_input_manager.h
|
| @@ -123,9 +123,12 @@ class CONTENT_EXPORT TextInputManager {
|
| // Users of these methods should not hold on to the pointers as they become
|
| // dangling if the TextInputManager or |active_view_| are destroyed.
|
|
|
| - // Returns the currently stored TextInputState. An state of nullptr can be
|
| - // interpreted as a ui::TextInputType of ui::TEXT_INPUT_TYPE_NONE.
|
| - const TextInputState* GetTextInputState() const;
|
| + // Returns the currently stored TextInputState for |view|. A state of nullptr
|
| + // can be interpreted as a ui::TextInputType of ui::TEXT_INPUT_TYPE_NONE for
|
| + // the view. If |view| is null and there is an |active_view_|, the state for
|
| + // |active_view_| is returned.
|
| + const TextInputState* GetTextInputState(
|
| + RenderWidgetHostViewBase* view = nullptr) const;
|
|
|
| // Returns the selection bounds information for |view|. If |view| == nullptr,
|
| // it will return the corresponding information for |active_view_| or nullptr
|
|
|