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

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

Issue 113763002: [rAc] [OSX] Set tooltip bubble arrow's anchor point based on the icon location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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_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 ad0410f1cbebb2a2d2da109a697f58d49b8072b9..89b310a2e7d414f9c6bc57d73c1e8338ed5f6302 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_main_container.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_main_container.mm
@@ -83,7 +83,8 @@ const SkColor kLegalDocumentsTextColor = SkColorSetRGB(102, 102, 102);
[[self view] addSubview:saveInChromeCheckbox_];
saveInChromeTooltip_.reset(
- [[AutofillTooltipController alloc] init]);
+ [[AutofillTooltipController alloc]
+ initWithArrowLocation:info_bubble::kTopCenter]);
[saveInChromeTooltip_ setImage:
ui::ResourceBundle::GetSharedInstance().GetNativeImageNamed(
IDR_AUTOFILL_TOOLTIP_ICON).ToNSImage()];

Powered by Google App Engine
This is Rietveld 408576698