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

Unified Diff: chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm

Issue 738223002: [Extensions Toolbar Mac] Make new toolbar actions slide out from the right (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/extensions/browser_actions_controller.mm
diff --git a/chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm b/chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm
index 495fb28428398f3bb156898e2b8c7966b6a8672c..b468630c68077f5e2f4ca100ebdaeb71e038d8a1 100644
--- a/chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm
+++ b/chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm
@@ -419,7 +419,7 @@ bool ToolbarActionsBarBridge::IsPopupRunning() const {
- (void)addViewForAction:(ToolbarActionViewController*)action
withIndex:(NSUInteger)index {
- NSRect buttonFrame = NSMakeRect(0.0,
+ NSRect buttonFrame = NSMakeRect(NSMaxX([containerView_ bounds]),
kBrowserActionOriginYOffset,
ToolbarActionsBar::IconWidth(false),
ToolbarActionsBar::IconHeight());
« 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