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

Unified Diff: chrome/browser/autocomplete/autocomplete_edit_view_mac.h

Issue 159105: [Mac] Detect control-key changes in autocomplete field. (Closed)
Patch Set: More comments about Control handling. Created 11 years, 5 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 | « no previous file | chrome/browser/autocomplete/autocomplete_edit_view_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete_edit_view_mac.h
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_mac.h b/chrome/browser/autocomplete/autocomplete_edit_view_mac.h
index ac0c712db5f900e1d11cd6227906a8dc3dfb0b4a..e564706e0e6487f605ff9833824be18754e91183 100644
--- a/chrome/browser/autocomplete/autocomplete_edit_view_mac.h
+++ b/chrome/browser/autocomplete/autocomplete_edit_view_mac.h
@@ -86,8 +86,11 @@ class AutocompleteEditViewMac : public AutocompleteEditView {
// Helper functions for use from AutocompleteEditHelper Objective-C
// class.
- void OnUpOrDownKeyPressed(bool up, bool by_page);
+
+ // Trivial wrappers forwarding to |model_| methods.
+ void OnControlKeyChanged(bool pressed);
void OnEscapeKeyPressed();
+ void OnUpOrDownKeyPressed(bool up, bool by_page);
// Called when editing begins in the field, and before the results
// of any editing are communicated to |model_|.
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete_edit_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698