| Index: ash/system/tray/hover_highlight_view.h
|
| diff --git a/ash/system/tray/hover_highlight_view.h b/ash/system/tray/hover_highlight_view.h
|
| index 47d15cfffa8ea48911e70385e345954d1a8e8ce3..1c8e2b043261964dc9a82b48dcae46d5a8375ed3 100644
|
| --- a/ash/system/tray/hover_highlight_view.h
|
| +++ b/ash/system/tray/hover_highlight_view.h
|
| @@ -64,6 +64,9 @@ class HoverHighlightView : public ActionableView {
|
| virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE;
|
|
|
| private:
|
| + // Sets the value for |hover_| and updates the color of |text_label_|
|
| + void SetHoverHighlight(bool hover);
|
| +
|
| // Overridden from ActionableView:
|
| virtual bool PerformAction(const ui::Event& event) OVERRIDE;
|
|
|
| @@ -72,6 +75,7 @@ class HoverHighlightView : public ActionableView {
|
| virtual int GetHeightForWidth(int width) const OVERRIDE;
|
| virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE;
|
| virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE;
|
| + virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
|
| virtual void OnEnabledChanged() OVERRIDE;
|
| virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE;
|
| virtual void OnFocus() OVERRIDE;
|
| @@ -87,6 +91,10 @@ class HoverHighlightView : public ActionableView {
|
| bool checkable_;
|
| bool checked_;
|
|
|
| + // 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_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(HoverHighlightView);
|
| };
|
|
|
|
|