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

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

Issue 72533002: [rAc OSX] Restore arrow for top notification. (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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/autofill/autofill_notification_container.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_notification_container.mm b/chrome/browser/ui/cocoa/autofill/autofill_notification_container.mm
index 87783759d9caa963c35243c2f8be6d89fd8209a1..f25680f668fdb7c5b73e5fa8954100e8304638f2 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_notification_container.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_notification_container.mm
@@ -76,6 +76,11 @@
initWithNotification:&notification
delegate:delegate_]);
+ if (i == 0) {
+ [notificationController setHasArrow:notification.HasArrow()
+ withAnchorView:anchorView_];
+ }
+
[notificationControllers_ addObject:notificationController];
[[self view] addSubview:[notificationController view]];
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698