Chromium Code Reviews| 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..8d59644755bfce6f0509e1e77f22636d465a18d6 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: |
| + //If |hover| sets a highlighted background color on the text label. |
|
Mr4D (OOO till 08-26)
2014/10/07 22:51:45
Maybe something like:
// Sets the highlighted bac
jonross
2014/10/08 14:18:00
Went with: Sets the highlighted color on a text la
|
| + 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; |