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

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: Address review comments. 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
« no previous file with comments | « ui/base/ime/dummy_text_input_client.h ('k') | ui/base/ime/text_edit_commands.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..dfdc8d4a6f276fe93c7a12a42f2d8844b98bf3f6 100644
--- a/ui/base/ime/dummy_text_input_client.cc
+++ b/ui/base/ime/dummy_text_input_client.cc
@@ -105,11 +105,12 @@ void DummyTextInputClient::ExtendSelectionAndDelete(size_t before,
void DummyTextInputClient::EnsureCaretInRect(const gfx::Rect& rect) {
}
-bool DummyTextInputClient::IsEditCommandEnabled(int command_id) const {
+bool DummyTextInputClient::IsTextEditCommandEnabled(
+ TextEditCommand command) const {
return false;
}
-void DummyTextInputClient::SetEditCommandForNextKeyEvent(int command_id) {
-}
+void DummyTextInputClient::SetTextEditCommandForNextKeyEvent(
+ TextEditCommand command) {}
} // namespace ui
« no previous file with comments | « ui/base/ime/dummy_text_input_client.h ('k') | ui/base/ime/text_edit_commands.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698