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

Unified Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm

Issue 10823289: Adding "send to mobile" and "add bookmark" to the action box menu and wiring to their respective ac… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months 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/location_bar/location_bar_view_mac.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
index ff0579130307dba0c2df59c78101475f616c1c82..53e7351cbffd796609464bda477b03e261c33afa 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
@@ -120,7 +120,8 @@ LocationBarViewMac::LocationBarViewMac(
}
if (extensions::switch_utils::IsActionBoxEnabled()) {
- plus_decoration_.reset(new PlusDecoration(this, command_updater, browser_));
+ plus_decoration_.reset(new PlusDecoration(this, command_updater, browser_,
+ profile_));
Scott Hess - ex-Googler 2012/08/13 18:54:43 Make this call consistent WRT use of parameter val
beaudoin 2012/08/17 20:04:21 Good question, I did not know of browser_->profile
Scott Hess - ex-Googler 2012/08/17 20:39:15 LocationBarView* dates from deepest darkest times.
}
for (size_t i = 0; i < CONTENT_SETTINGS_NUM_TYPES; ++i) {

Powered by Google App Engine
This is Rietveld 408576698