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 b542e34174f91cd366c288fd207d6e3fe0f70577..2c6d46cb28c5ca1e30b2e322021dc82dab9f33e2 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 |
@@ -44,7 +44,7 @@ class ContentSettingImageView |
// |new_navigation| true if this is a new navigation, false if the tab was |
// just switched to. |
- void UpdateFromWebContents(content::WebContents* web_contents); |
+ void Update(TabContents* tab_contents); |
// views::View overrides: |
virtual gfx::Size GetPreferredSize() OVERRIDE; |
@@ -60,6 +60,12 @@ class ContentSettingImageView |
// TouchableLocationBarView. |
virtual int GetBuiltInHorizontalPadding() const OVERRIDE; |
+ protected: |
+ virtual SkColor button_border_color() const; |
+ virtual SkColor gradient_top_color() const; |
+ virtual SkColor gradient_bottom_color() const; |
+ virtual void OnClick(); |
+ |
private: |
// views::ImageView overrides: |
virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE; |