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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_details_container.mm

Issue 51933002: [rAC, OSX] Autofill popup should be shown on 2nd click. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test helper. Created 7 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/autofill/autofill_details_container.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_details_container.mm b/chrome/browser/ui/cocoa/autofill/autofill_details_container.mm
index 3adf3ce0d62a305e1970e3b9dbce5838b61a4651..ee1dbf668890f0c68687fb3c18f3b3b84ed8ef38 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_details_container.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_details_container.mm
@@ -144,6 +144,10 @@ SkColor const kWarningColor = 0xffde4932; // SkColorSetRGB(0xde, 0x49, 0x32);
return [[errorBubble_ superview] convertPoint:bubbleOrigin fromView:nil];
}
+- (void)hideErrorBubble {
+ [errorBubble_ setHidden:YES];
+}
+
- (void)updateMessageForField:(NSControl<AutofillInputField>*)field {
// Ignore fields that are not first responder. Testing this is a bit
// convoluted, since for NSTextFields with firstResponder status, the
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698