Chromium Code Reviews| 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..1ccce08dda035d5de7f53d06bd45640ff32765d7 |
| --- /dev/null |
| +++ b/chrome/browser/ui/cocoa/autofill/autofill_input_field.h |
| @@ -0,0 +1,22 @@ |
| +// 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 |
| + |
| +// Mark a field as containing invalid data. |
| +//- (void)setInvalid:(BOOL)invalid; |
| + |
| +// Check if field is marked invalid. |
| +//- (BOOL)isInvalid; |
|
sail
2013/06/28 03:08:56
remove?
groby-ooo-7-16
2013/06/28 18:49:52
Done.
|
| +@property(assign, nonatomic) BOOL invalid; |
| +@property(copy, nonatomic) NSString* fieldValue; |
|
sail
2013/06/28 03:08:56
(nonatomic, copy)
groby-ooo-7-16
2013/06/28 18:49:52
Done.
|
| + |
| +@end |
| + |
| +#endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_INPUT_FIELD_H_ |