Index: ui/views/controls/prefix_selector.cc |
diff --git a/ui/views/controls/prefix_selector.cc b/ui/views/controls/prefix_selector.cc |
index 1ba5feb1ba8ee57dd60a39e9e77c7b49b4285328..41c2a71e0620b6c4d51a9e3dd5a34334d0fc07b7 100644 |
--- a/ui/views/controls/prefix_selector.cc |
+++ b/ui/views/controls/prefix_selector.cc |
@@ -135,12 +135,12 @@ void PrefixSelector::ExtendSelectionAndDelete(size_t before, size_t after) { |
void PrefixSelector::EnsureCaretInRect(const gfx::Rect& rect) { |
} |
-bool PrefixSelector::IsEditCommandEnabled(int command_id) { |
+bool PrefixSelector::IsEditCommandEnabled(ui::TextEditCommand command) const { |
return false; |
} |
-void PrefixSelector::SetEditCommandForNextKeyEvent(int command_id) { |
-} |
+void PrefixSelector::SetEditCommandForNextKeyEvent( |
+ ui::TextEditCommand command) {} |
void PrefixSelector::OnTextInput(const base::string16& text) { |
// Small hack to filter out 'tab' and 'enter' input, as the expectation is |