Chromium Code Reviews| Index: ui/views/controls/prefix_selector.h |
| diff --git a/ui/views/controls/prefix_selector.h b/ui/views/controls/prefix_selector.h |
| index 9476855534cb8e6c915e1448e372ced9e13f2c50..41341afeae83788f7ce1659eda14a3dafe0a8294 100644 |
| --- a/ui/views/controls/prefix_selector.h |
| +++ b/ui/views/controls/prefix_selector.h |
| @@ -17,12 +17,13 @@ |
| namespace views { |
| class PrefixDelegate; |
| +class View; |
| // PrefixSelector is used to change the selection in a view as the user |
| // types characters. |
| class VIEWS_EXPORT PrefixSelector : public ui::TextInputClient { |
| public: |
| - explicit PrefixSelector(PrefixDelegate* delegate); |
| + explicit PrefixSelector(PrefixDelegate* delegate, View* host_view); |
|
sky
2016/08/31 16:19:49
remove explicit.
Evan Stade
2016/08/31 21:12:29
Done.
|
| ~PrefixSelector() override; |
| // Invoked from the view when it loses focus. |
| @@ -71,6 +72,8 @@ class VIEWS_EXPORT PrefixSelector : public ui::TextInputClient { |
| PrefixDelegate* prefix_delegate_; |
| + View* host_view_; |
| + |
| // Time OnTextInput() was last invoked. |
| base::TimeTicks time_of_last_key_; |