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

Unified Diff: ui/views/controls/textfield/textfield.cc

Issue 302293003: MacViews: Extend TextInputClient protocol with support for editing commands. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/views/controls/textfield/textfield.cc
diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc
index 09f261f11aea51cb2fcef3ba907d0acddcd43b73..b19f5b196e43f67f3195d0662c79544c6ca3fd2b 100644
--- a/ui/views/controls/textfield/textfield.cc
+++ b/ui/views/controls/textfield/textfield.cc
@@ -1455,6 +1455,14 @@ void Textfield::OnCandidateWindowUpdated() {}
void Textfield::OnCandidateWindowHidden() {}
+bool Textfield::IsEditingCommandEnabled(int command_id) {
+ return IsCommandIdEnabled(command_id);
+}
+
+void Textfield::ExecuteEditingCommand(int command_id) {
+ ExecuteCommand(command_id);
+}
+
////////////////////////////////////////////////////////////////////////////////
// Textfield, protected:

Powered by Google App Engine
This is Rietveld 408576698