Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(498)

Unified Diff: ui/base/ime/dummy_text_input_client.cc

Issue 2027133002: Modify ui::TextInputClient to use ui::TextEditCommand enum in place of resource ids. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor4_up_down_mac
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/base/ime/dummy_text_input_client.cc
diff --git a/ui/base/ime/dummy_text_input_client.cc b/ui/base/ime/dummy_text_input_client.cc
index eae81c70fd0163b78339e43207e0e1f29f25073e..3dd87c5e2c4c50db632c53486f66cb2307dc182e 100644
--- a/ui/base/ime/dummy_text_input_client.cc
+++ b/ui/base/ime/dummy_text_input_client.cc
@@ -105,11 +105,11 @@ void DummyTextInputClient::ExtendSelectionAndDelete(size_t before,
void DummyTextInputClient::EnsureCaretInRect(const gfx::Rect& rect) {
}
-bool DummyTextInputClient::IsEditCommandEnabled(int command_id) const {
+bool DummyTextInputClient::IsEditCommandEnabled(TextEditCommand command) const {
return false;
}
-void DummyTextInputClient::SetEditCommandForNextKeyEvent(int command_id) {
-}
+void DummyTextInputClient::SetEditCommandForNextKeyEvent(
+ TextEditCommand command) {}
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698