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

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

Issue 58913002: [rAc OSX] Ensure that the "Save in Chrome?" tooltip is only visible when the checkbox is. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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_main_container_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/autofill/autofill_main_container.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_main_container.mm b/chrome/browser/ui/cocoa/autofill/autofill_main_container.mm
index 0d11e1fecc170d52f5629d36f4ecc5be855b007d..a38a4d5619ecaf55dcb5cc6f6c950a152a2febfa 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_main_container.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_main_container.mm
@@ -62,7 +62,6 @@
[saveInChromeCheckbox_ setButtonType:NSSwitchButton];
[saveInChromeCheckbox_ setTitle:
base::SysUTF16ToNSString(delegate_->SaveLocallyText())];
- [self updateSaveInChrome];
[saveInChromeCheckbox_ sizeToFit];
[[self view] addSubview:saveInChromeCheckbox_];
@@ -74,6 +73,7 @@
base::SysUTF16ToNSString(delegate_->SaveLocallyTooltip())];
[saveInChromeTooltip_ setFrameSize:[[saveInChromeTooltip_ image] size]];
[[self view] addSubview:saveInChromeTooltip_];
+ [self updateSaveInChrome];
detailsContainer_.reset(
[[AutofillDetailsContainer alloc] initWithDelegate:delegate_]);
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/autofill/autofill_main_container_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698