diff options
Diffstat (limited to 'ash/system/tray/hover_highlight_view.h')
-rw-r--r-- | ash/system/tray/hover_highlight_view.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ash/system/tray/hover_highlight_view.h b/ash/system/tray/hover_highlight_view.h index 6df822f..ffd83a2 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 highlighted color on a text label if |hover| is set. + 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; |