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

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

Issue 7574021: Remove frontend code that allows for dynamic profile setting, and read the profile off the browse... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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/views/location_bar/location_bar_view.h
===================================================================
--- chrome/browser/ui/views/location_bar/location_bar_view.h (revision 95527)
+++ chrome/browser/ui/views/location_bar/location_bar_view.h (working copy)
@@ -41,7 +41,6 @@
class KeywordHintView;
class LocationIconView;
class PageActionWithBadgeView;
-class Profile;
class SelectedKeywordView;
class StarView;
class TabContents;
@@ -118,8 +117,7 @@
APP_LAUNCHER
};
- LocationBarView(Profile* profile,
- Browser* browser,
+ LocationBarView(Browser* browser,
ToolbarModel* model,
Delegate* delegate,
Mode mode);
@@ -141,8 +139,6 @@
// saved state that the tab holds.
void Update(const TabContents* tab_for_state_restoring);
- void SetProfile(Profile* profile);
- Profile* profile() const { return profile_; }
Browser* browser() const { return browser_; }
// Sets |preview_enabled| for the PageAction View associated with this
@@ -339,9 +335,6 @@
// Helper to show the first run info bubble.
void ShowFirstRunBubbleInternal(FirstRun::BubbleType bubble_type);
- // Current profile. Not owned by us.
- Profile* profile_;
-
// The Autocomplete Edit field.
scoped_ptr<OmniboxView> location_entry_;
« no previous file with comments | « chrome/browser/ui/views/location_bar/keyword_hint_view.h ('k') | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698