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

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

Issue 2007503002: 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: Added file deleted during rename. Created 4 years, 7 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 ac9b97343ab9eb0203d80adf36b6900156d60973..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) {
+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