| Index: ash/shelf/app_list_button.h
|
| diff --git a/ash/shelf/app_list_button.h b/ash/shelf/app_list_button.h
|
| index 2571b717005918d3b0e4bea5b88583f1d2d4e189..699f345ec2d865f7fd8d978369af7c743bbc04b3 100644
|
| --- a/ash/shelf/app_list_button.h
|
| +++ b/ash/shelf/app_list_button.h
|
| @@ -22,6 +22,10 @@ class AppListButton : public views::ImageButton {
|
| ShelfWidget* shelf_widget);
|
| virtual ~AppListButton();
|
|
|
| + bool draw_background_as_active() {
|
| + return draw_background_as_active_;
|
| + }
|
| +
|
| protected:
|
| // views::ImageButton overrides:
|
| virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE;
|
| @@ -38,6 +42,17 @@ class AppListButton : public views::ImageButton {
|
| virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
|
|
|
| private:
|
| + // Toggles the active state for painting the background and schedules a paint.
|
| + void SetDrawBackgroundAsActive(bool draw_background_as_active);
|
| +
|
| + // True if the background should render as active, regardless of the state of
|
| + // the application list.
|
| + bool draw_background_as_active_;
|
| +
|
| + // True if touch view feedback command line flag has been enabled. When
|
| + // enabled touch gestures will toggle rendering the background as active.
|
| + bool touch_feedback_enabled_;
|
| +
|
| ShelfButtonHost* host_;
|
| // Reference to the shelf widget containing this button, owned by the
|
| // root window controller.
|
|
|