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

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

Issue 2029733003: Views: Replace resource ids with ui::TextEditCommand enum for text editing commands in Textfield. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « ui/base/ime/dummy_text_input_client.h ('k') | ui/base/ime/linux/text_edit_command_auralinux.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 6d98ef6381aaaa2bb6ba8b0eb802aee3c5174666..2f88566c6580c0ce503a4525266c201cd5ea88c3 100644
--- a/ui/base/ime/dummy_text_input_client.cc
+++ b/ui/base/ime/dummy_text_input_client.cc
@@ -109,11 +109,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/linux/text_edit_command_auralinux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698