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

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

Issue 302293003: MacViews: Extend TextInputClient protocol with support for editing commands. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, fixes for ben Created 6 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/input_method_chromeos_unittest.cc ('k') | ui/views/controls/prefix_selector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/text_input_client.h
diff --git a/ui/base/ime/text_input_client.h b/ui/base/ime/text_input_client.h
index 6581519d02f22721c45dd0df864802b99354f0a1..ff1242fae519fb75c6def728959b7b429f107a0d 100644
--- a/ui/base/ime/text_input_client.h
+++ b/ui/base/ime/text_input_client.h
@@ -166,6 +166,11 @@ class UI_BASE_EXPORT TextInputClient {
virtual void OnCandidateWindowUpdated() = 0;
// Called when IME hides the candidate window.
virtual void OnCandidateWindowHidden() = 0;
+
+ // Returns true if |command_id| is currently allowed to be executed.
+ virtual bool IsEditingCommandEnabled(int command_id) = 0;
+ // Execute the command specified by |command_id|.
+ virtual void ExecuteEditingCommand(int command_id) = 0;
};
} // namespace ui
« no previous file with comments | « ui/base/ime/input_method_chromeos_unittest.cc ('k') | ui/views/controls/prefix_selector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698