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

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

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/BUILD.gn ('k') | ui/base/ime/dummy_text_input_client.cc » ('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.h
diff --git a/ui/base/ime/dummy_text_input_client.h b/ui/base/ime/dummy_text_input_client.h
index 79cd9682e258452a7d1237331dc469c4ee15f5cb..ebf3b178a224fd5dcad09686c9c0da86e8962d31 100644
--- a/ui/base/ime/dummy_text_input_client.h
+++ b/ui/base/ime/dummy_text_input_client.h
@@ -47,8 +47,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) const override;
- void SetEditCommandForNextKeyEvent(int command_id) override;
+ bool IsTextEditCommandEnabled(TextEditCommand command) const override;
+ void SetTextEditCommandForNextKeyEvent(TextEditCommand command) override;
int insert_char_count() const { return insert_char_count_; }
base::char16 last_insert_char() const { return last_insert_char_; }
« no previous file with comments | « ui/base/ime/BUILD.gn ('k') | ui/base/ime/dummy_text_input_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698