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

Unified Diff: chrome/browser/ui/views/location_bar/content_setting_image_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/content_setting_image_view.h
===================================================================
--- chrome/browser/ui/views/location_bar/content_setting_image_view.h (revision 95527)
+++ chrome/browser/ui/views/location_bar/content_setting_image_view.h (working copy)
@@ -16,7 +16,6 @@
class ContentSettingImageModel;
class Bubble;
class LocationBarView;
-class Profile;
class TabContents;
namespace views {
@@ -28,11 +27,9 @@
public ui::LinearAnimation {
public:
ContentSettingImageView(ContentSettingsType content_type,
- LocationBarView* parent,
- Profile* profile);
+ LocationBarView* parent);
virtual ~ContentSettingImageView();
- void set_profile(Profile* profile) { profile_ = profile; }
// |new_navigation| true if this is a new navigation, false if the tab was
// just switched to.
void UpdateFromTabContents(TabContents* tab_contents);
@@ -61,9 +58,6 @@
// The owning LocationBarView.
LocationBarView* parent_;
- // The currently active profile.
- Profile* profile_;
-
// The currently shown info bubble if any.
Bubble* bubble_;
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/location_bar/content_setting_image_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698