Index: chrome/browser/ui/cocoa/autofill/autofill_textfield.h |
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_textfield.h b/chrome/browser/ui/cocoa/autofill/autofill_textfield.h |
index f1c3c1658279fcfd696e952debaf4000929dd619..bd72e4104dcec672a0cd883c1bfc2fcbc402b023 100644 |
--- a/chrome/browser/ui/cocoa/autofill/autofill_textfield.h |
+++ b/chrome/browser/ui/cocoa/autofill/autofill_textfield.h |
@@ -15,10 +15,22 @@ |
@interface AutofillTextField : NSTextField<AutofillInputField, |
NSTextFieldDelegate> { |
@private |
- id<AutofillInputDelegate> delegate_; |
- base::scoped_nsobject<NSString> validityMessage_; |
+ id<AutofillInputDelegate> delegate_; |
+ base::scoped_nsobject<NSString> validityMessage_; |
+ |
+ // |shouldFilterFirstClick_| ensures only the very first click after |
+ // -becomeFirstResponder: is treated specially. |
+ BOOL shouldFilterClick_; |
+ |
+ // YES if the field is currently handling a click that caused the field to |
+ // become first responder. |
+ BOOL handlingFirstClick_; |
} |
+// Can be invoked by field editor to forward mouseDown messages from the field |
+// editor to the AutofillTextField. |
+- (void)onEditorMouseDown:(id)sender; |
+ |
@end |
@interface AutofillTextFieldCell : NSTextFieldCell<AutofillInputCell> { |