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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ea1e43de82fce34b92a5c72b4fc4a2949979bf97 |
--- /dev/null |
+++ b/chrome/browser/ui/cocoa/autofill/autofill_input_field.h |
@@ -0,0 +1,17 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_INPUT_FIELD_H_ |
+#define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_INPUT_FIELD_H_ |
+ |
+// Protocol to allow access to any given input field in an Autofill dialog, no |
+// matter what the underlying control is. |
+@protocol AutofillInputField |
+ |
+@property(nonatomic, assign) BOOL invalid; |
+@property(nonatomic, copy) NSString* fieldValue; |
+ |
+@end |
+ |
+#endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_INPUT_FIELD_H_ |