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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_views.h

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: 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
Index: chrome/browser/ui/views/omnibox/omnibox_view_views.h
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views.h b/chrome/browser/ui/views/omnibox/omnibox_view_views.h
index 2ee5f226abf1e7f1d8c168f51294589cc8c65bbf..c03e56ade9f12d7b64c39f981ba8d3719625fce5 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views.h
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.h
@@ -179,8 +179,8 @@ class OmniboxViewViews
bool IsCommandIdEnabled(int command_id) const override;
base::string16 GetSelectionClipboardText() const override;
void DoInsertChar(base::char16 ch) override;
- bool IsEditCommandEnabled(int command_id) const override;
- void ExecuteEditCommand(int command_id) override;
+ bool IsEditCommandEnabled(ui::TextEditCommand command) const override;
+ void ExecuteEditCommand(ui::TextEditCommand command) override;
// chromeos::input_method::InputMethodManager::CandidateWindowObserver:
#if defined(OS_CHROMEOS)
« no previous file with comments | « no previous file | chrome/browser/ui/views/omnibox/omnibox_view_views.cc » ('j') | ui/events/text_edit_commands.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698