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

Unified Diff: chrome/browser/ui/gtk/location_bar_view_gtk.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
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/location_bar_view_gtk.h
===================================================================
--- chrome/browser/ui/gtk/location_bar_view_gtk.h (revision 95527)
+++ chrome/browser/ui/gtk/location_bar_view_gtk.h (working copy)
@@ -41,7 +41,6 @@
class ContentSettingBubbleGtk;
class ExtensionAction;
class GtkThemeService;
-class Profile;
class SkBitmap;
class TabContents;
class ToolbarModel;
@@ -56,8 +55,6 @@
void Init(bool popup_window_mode);
- void SetProfile(Profile* profile);
-
// Returns the widget the caller should host. You must call Init() first.
GtkWidget* widget() { return hbox_.get(); }
@@ -149,14 +146,11 @@
public ui::AnimationDelegate {
public:
ContentSettingImageViewGtk(ContentSettingsType content_type,
- const LocationBarViewGtk* parent,
- Profile* profile);
+ const LocationBarViewGtk* parent);
virtual ~ContentSettingImageViewGtk();
GtkWidget* widget() { return alignment_.get(); }
- void set_profile(Profile* profile) { profile_ = profile; }
-
bool IsVisible();
void UpdateFromTabContents(TabContents* tab_contents);
@@ -195,9 +189,6 @@
// The owning LocationBarViewGtk.
const LocationBarViewGtk* parent_;
- // The currently active profile.
- Profile* profile_;
-
// The currently shown bubble if any.
ContentSettingBubbleGtk* content_setting_bubble_;
@@ -215,9 +206,7 @@
class PageActionViewGtk : public ImageLoadingTracker::Observer,
public ExtensionContextMenuModel::PopupDelegate {
public:
- PageActionViewGtk(
- LocationBarViewGtk* owner, Profile* profile,
- ExtensionAction* page_action);
+ PageActionViewGtk(LocationBarViewGtk* owner, ExtensionAction* page_action);
virtual ~PageActionViewGtk();
GtkWidget* widget() { return event_box_.get(); }
@@ -258,9 +247,6 @@
// The location bar view that owns us.
LocationBarViewGtk* owner_;
- // The current profile (not owned by us).
- Profile* profile_;
-
// The PageAction that this view represents. The PageAction is not owned by
// us, it resides in the extension of this particular profile.
ExtensionAction* page_action_;
@@ -410,7 +396,6 @@
// Alignment used to wrap |location_entry_|.
GtkWidget* location_entry_alignment_;
- Profile* profile_;
CommandUpdater* command_updater_;
ToolbarModel* toolbar_model_;
Browser* browser_;
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698