Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2385)

Unified Diff: ash/system/tray/hover_highlight_view.h

Issue 556383002: Status Panel Touch Feedback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698