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

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

Issue 9703099: Revert 126959 - Re-factor location bar/toolbar code to get rid of the browser dependency. This CL i… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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/page_action_image_view.h
===================================================================
--- chrome/browser/ui/views/location_bar/page_action_image_view.h (revision 127082)
+++ chrome/browser/ui/views/location_bar/page_action_image_view.h (working copy)
@@ -15,7 +15,6 @@
#include "chrome/browser/ui/views/extensions/extension_popup.h"
#include "ui/views/controls/image_view.h"
-class Browser;
class LocationBarView;
namespace content {
@@ -34,8 +33,7 @@
public content::NotificationObserver {
public:
PageActionImageView(LocationBarView* owner,
- ExtensionAction* page_action,
- Browser* browser);
+ ExtensionAction* page_action);
virtual ~PageActionImageView();
ExtensionAction* page_action() { return page_action_; }
@@ -93,9 +91,6 @@
// us, it resides in the extension of this particular profile.
ExtensionAction* page_action_;
- // The corresponding browser.
- Browser* browser_;
-
// A cache of bitmaps the page actions might need to show, mapped by path.
typedef std::map<std::string, SkBitmap> PageActionMap;
PageActionMap page_action_icons_;

Powered by Google App Engine
This is Rietveld 408576698