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

Unified Diff: ui/views/controls/prefix_selector.h

Issue 782673002: MacViews: tryjobs for toolkit_views=1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: latest crrev/901823002 Created 5 years, 10 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/views/cocoa/bridged_content_view.mm ('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 b1af2ad6de359a15d3eda5179f21ce515d82ba6d..b6b1e19dbb9070a87be8a8b7e84904a0ba993dc3 100644
--- a/ui/views/controls/prefix_selector.h
+++ b/ui/views/controls/prefix_selector.h
@@ -57,6 +57,7 @@ class VIEWS_EXPORT PrefixSelector : public ui::TextInputClient {
bool IsEditingCommandEnabled(int command_id) override;
void ExecuteEditingCommand(int command_id) override;
+ bool HandleAsKeyEventOnly(const ui::KeyEvent& key_event) override;
private:
// Invoked when text is typed. Tries to change the selection appropriately.
« no previous file with comments | « ui/views/cocoa/bridged_content_view.mm ('k') | ui/views/controls/prefix_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698