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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.h

Issue 10533086: Action box menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Action box menu Created 8 years, 5 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/views/location_bar/location_bar_view.h
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h
index d045e53e64fff072f5686c2191fd47dc2a414918..1c1f774dc6d9b0e21d0583ed019e37df20cdbbf6 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -150,7 +150,8 @@ class LocationBarView : public LocationBar,
APP_LAUNCHER
};
- LocationBarView(Profile* profile,
+ LocationBarView(Browser* browser,
+ Profile* profile,
CommandUpdater* command_updater,
ToolbarModel* model,
Delegate* delegate,
@@ -445,6 +446,11 @@ class LocationBarView : public LocationBar,
void CleanupFadeAnimation();
#endif
+ // The Browser this LocationBarView is in. Note that at least
+ // chromeos::SimpleWebViewDialog uses a LocationBarView outside any browser
+ // window, so this may be NULL.
+ Browser* browser_;
+
// The Autocomplete Edit field.
scoped_ptr<OmniboxView> location_entry_;

Powered by Google App Engine
This is Rietveld 408576698