Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3417)

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_input_field.h

Issue 18112007: [rAC] added popup highlighting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698