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

Unified Diff: ui/views/controls/prefix_selector.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/text_input_client.h ('k') | ui/views/controls/prefix_selector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/prefix_selector.h
diff --git a/ui/views/controls/prefix_selector.h b/ui/views/controls/prefix_selector.h
index a7ba50767171873ef3bebffeb7f45f06056769d5..255046f60dff9aed12021c2286c9de0395e59f82 100644
--- a/ui/views/controls/prefix_selector.h
+++ b/ui/views/controls/prefix_selector.h
@@ -55,6 +55,9 @@ class VIEWS_EXPORT PrefixSelector : public ui::TextInputClient {
virtual void OnCandidateWindowUpdated() OVERRIDE;
virtual void OnCandidateWindowHidden() OVERRIDE;
+ virtual bool IsEditingCommandEnabled(int command_id) OVERRIDE;
+ virtual void ExecuteEditingCommand(int command_id) OVERRIDE;
+
private:
// Invoked when text is typed. Tries to change the selection appropriately.
void OnTextInput(const base::string16& text);
« no previous file with comments | « ui/base/ime/text_input_client.h ('k') | ui/views/controls/prefix_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698