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

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

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.h
diff --git a/ui/base/ime/dummy_text_input_client.h b/ui/base/ime/dummy_text_input_client.h
index a1779939e4420c0ed6615b1330a93c6ec7298f8e..4b4bbcee8edc9e4ca9f0bc3c4110a579bebba923 100644
--- a/ui/base/ime/dummy_text_input_client.h
+++ b/ui/base/ime/dummy_text_input_client.h
@@ -46,8 +46,8 @@ class DummyTextInputClient : public TextInputClient {
base::i18n::TextDirection direction) override;
void ExtendSelectionAndDelete(size_t before, size_t after) override;
void EnsureCaretInRect(const gfx::Rect& rect) override;
- bool IsEditCommandEnabled(int command_id) override;
- void SetEditCommandForNextKeyEvent(int command_id) override;
+ bool IsEditCommandEnabled(TextEditCommand command) const override;
+ void SetEditCommandForNextKeyEvent(TextEditCommand command) override;
int insert_char_count() const { return insert_char_count_; }
base::char16 last_insert_char() const { return last_insert_char_; }

Powered by Google App Engine
This is Rietveld 408576698