| 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..24daab9fab04349c9c9f0007bfd66c8af9a2a1a5 100644
|
| --- a/chrome/browser/ui/cocoa/autofill/autofill_input_field.h
|
| +++ b/chrome/browser/ui/cocoa/autofill/autofill_input_field.h
|
| @@ -21,6 +21,17 @@
|
| // Delegate to handle editing events on the AutofillInputFields.
|
| @protocol AutofillInputDelegate<NSObject>
|
|
|
| +// Indicates if an event should be forwarded on.
|
| +enum KeyEventHandled {
|
| + kKeyEventNotHandled,
|
| + kKeyEventHandled
|
| +};
|
| +
|
| +// The input field received a key event. This should return kKeyEventHandled if
|
| +// it handled the event, or 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;
|
|
|
|
|