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

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: Restrict test to ChromeOS Created 6 years, 2 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
« no previous file with comments | « ash/ash.gyp ('k') | ash/system/tray/hover_highlight_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6df822f220819f0e22fa2187395aace516678ebb..ffd83a2d08ef6450494d362341fc8a5b6ee6583f 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;
« no previous file with comments | « ash/ash.gyp ('k') | ash/system/tray/hover_highlight_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698