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 10fe18b1299ac4e0e8a4244635836150734bcdee..8ee771d534285a4d6231939dfeff9c83072c8e9e 100644 |
| --- a/ui/views/controls/prefix_selector.h |
| +++ b/ui/views/controls/prefix_selector.h |
| @@ -55,8 +55,8 @@ class VIEWS_EXPORT PrefixSelector : public ui::TextInputClient { |
| void ExtendSelectionAndDelete(size_t before, size_t after) override; |
| void EnsureCaretInRect(const gfx::Rect& rect) override; |
| - bool IsEditCommandEnabled(int command_id) const override; |
| - void SetEditCommandForNextKeyEvent(int command_id) override; |
| + bool IsEditCommandEnabled(ui::TextEditCommand command) const override; |
|
sky
2016/06/16 17:00:37
Can you rename these? IsTextEditCommandEnabled and
karandeepb
2016/06/17 02:39:03
Done.
|
| + void SetEditCommandForNextKeyEvent(ui::TextEditCommand command) override; |
| private: |
| // Invoked when text is typed. Tries to change the selection appropriately. |