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

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

Issue 9479008: Re-factor location bar/toolbar code to get rid of the browser dependency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win fix Created 8 years, 10 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
diff --git a/chrome/browser/ui/views/location_bar/content_setting_image_view.h b/chrome/browser/ui/views/location_bar/content_setting_image_view.h
index 58c6e5fe3304ff527e66c404c05d18616663a566..1ef5cab5b437b9454d4188182137fbd8e61788b4 100644
--- a/chrome/browser/ui/views/location_bar/content_setting_image_view.h
+++ b/chrome/browser/ui/views/location_bar/content_setting_image_view.h
@@ -14,6 +14,7 @@
#include "ui/views/controls/image_view.h"
#include "ui/views/widget/widget.h"
+class BrowserShowContentRelated;
class ContentSettingImageModel;
class ContentSettingBubbleContents;
class LocationBarView;
@@ -38,7 +39,8 @@ class ContentSettingImageView : public views::ImageView,
public views::Widget::Observer {
public:
ContentSettingImageView(ContentSettingsType content_type,
- LocationBarView* parent);
+ LocationBarView* parent,
+ BrowserShowContentRelated* delegate);
virtual ~ContentSettingImageView();
// |new_navigation| true if this is a new navigation, false if the tab was
@@ -70,6 +72,8 @@ class ContentSettingImageView : public views::ImageView,
// The owning LocationBarView.
LocationBarView* parent_;
+ BrowserShowContentRelated* delegate_;
+
scoped_ptr<ui::SlideAnimation> slide_animator_;
string16 animated_text_;
bool pause_animation_;

Powered by Google App Engine
This is Rietveld 408576698