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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_input_field.h

Issue 82193002: [rAC, OSX] Autofill text field hot keys. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Trying to fix "old chunk mismatch" Created 7 years, 1 month 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: chrome/browser/ui/cocoa/autofill/autofill_input_field.h
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_input_field.h b/chrome/browser/ui/cocoa/autofill/autofill_input_field.h
index 8ed34b58765677d322abdbbc4be24a5c710b4319..376d27a950e119fbc3945231361b8e22c6249bf7 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_input_field.h
+++ b/chrome/browser/ui/cocoa/autofill/autofill_input_field.h
@@ -21,6 +21,16 @@
// Delegate to handle editing events on the AutofillInputFields.
@protocol AutofillInputDelegate<NSObject>
+// Indicates if an event should be forwarded on.
+enum KeyEventHandled {
+ kKeyEventNotHandled,
+ kKeyEventHandled
+};
+
+// keyEvent should return kKeyEventHandled if it handled the event, or
Robert Sesek 2013/11/22 16:52:39 |keyEvent| presumably references the method name,
groby-ooo-7-16 2013/11/22 21:31:32 Done.
+// kEventNotHandled if it should be forwarded to the input's super class.
+- (KeyEventHandled)keyEvent:(NSEvent*)event forInput:(id)sender;
+
// Input field or its editor received a mouseDown: message.
- (void)onMouseDown:(NSControl<AutofillInputField>*)sender;

Powered by Google App Engine
This is Rietveld 408576698