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

Unified Diff: ui/views/animation/ink_drop_delegate.h

Issue 1390113006: Added material design mouse hover feedback support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved MouseEntered/Exit() to hover handling in to the ButtonInkDropDelegate. Created 4 years, 11 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: ui/views/animation/ink_drop_delegate.h
diff --git a/ui/views/animation/ink_drop_delegate.h b/ui/views/animation/ink_drop_delegate.h
index 576b742a610b989a570245275a1b53bbe2fb709d..0bf265aeb3caee5e8ca8603589f8255ed9d60a1f 100644
--- a/ui/views/animation/ink_drop_delegate.h
+++ b/ui/views/animation/ink_drop_delegate.h
@@ -42,6 +42,9 @@ class VIEWS_EXPORT InkDropDelegate {
// as well as a NONE value.
virtual void OnAction(InkDropState state) = 0;
+ // Enables or disables the hover state.
+ virtual void SetHovered(bool is_hovered) = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(InkDropDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698