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

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

Issue 1977793006: Pressing spacebar on toolbar buttons triggers the ripple effect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatting changes Created 4 years, 7 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 | « ui/views/animation/button_ink_drop_delegate.cc ('k') | ui/views/animation/test/test_ink_drop_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 61235241f9269c554000d71266c982577c209214..545f5be0e3af2ec5d7fcdf1be0bc0530d3634bda 100644
--- a/ui/views/animation/ink_drop_delegate.h
+++ b/ui/views/animation/ink_drop_delegate.h
@@ -35,6 +35,9 @@ class VIEWS_EXPORT InkDropDelegate {
// Enables or disables the hover state.
virtual void SetHovered(bool is_hovered) = 0;
+ // Returns the current InkDropState
+ virtual InkDropState GetTargetInkDropState() const = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(InkDropDelegate);
};
« no previous file with comments | « ui/views/animation/button_ink_drop_delegate.cc ('k') | ui/views/animation/test/test_ink_drop_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698