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; |