| Index: chrome/browser/ui/views/location_bar/star_view.h
|
| diff --git a/chrome/browser/ui/views/location_bar/star_view.h b/chrome/browser/ui/views/location_bar/star_view.h
|
| index 2a745ac1b7285e92e0616db6a0a852317e2de459..8d011d3808c9771bbd19451a2aedb98cb36f79dd 100644
|
| --- a/chrome/browser/ui/views/location_bar/star_view.h
|
| +++ b/chrome/browser/ui/views/location_bar/star_view.h
|
| @@ -6,6 +6,7 @@
|
| #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_STAR_VIEW_H_
|
| #pragma once
|
|
|
| +#include "chrome/browser/ui/views/location_bar/touchable_location_bar_view.h"
|
| #include "ui/views/controls/image_view.h"
|
|
|
| class CommandUpdater;
|
| @@ -15,7 +16,9 @@ class KeyEvent;
|
| class MouseEvent;
|
| }
|
|
|
| -class StarView : public views::ImageView {
|
| +class StarView
|
| + : public views::ImageView,
|
| + public TouchableLocationBarView {
|
| public:
|
| explicit StarView(CommandUpdater* command_updater);
|
| virtual ~StarView();
|
| @@ -23,6 +26,9 @@ class StarView : public views::ImageView {
|
| // Toggles the star on or off.
|
| void SetToggled(bool on);
|
|
|
| + // TouchableLocationBarView.
|
| + virtual int GetBuiltInHorizontalPadding() const OVERRIDE;
|
| +
|
| private:
|
| // views::ImageView overrides:
|
| virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
|
|
|