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

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

Issue 1390113006: Added material design mouse hover feedback support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed the InkDropAnimationControllerImpl to destroy its timer when not running. 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
« no previous file with comments | « ui/views/animation/ink_drop_delegate.h ('k') | ui/views/animation/ink_drop_hover.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/animation/ink_drop_host.h
diff --git a/ui/views/animation/ink_drop_host.h b/ui/views/animation/ink_drop_host.h
index f50fac789d76e84a61ef31f4702a9dfe06ae2b54..ab9f165080d75ee0fd8cd1ab8e714484a655efb6 100644
--- a/ui/views/animation/ink_drop_host.h
+++ b/ui/views/animation/ink_drop_host.h
@@ -34,9 +34,11 @@ class VIEWS_EXPORT InkDropHost {
virtual void RemoveInkDropLayer(ui::Layer* ink_drop_layer) = 0;
// Returns the Point where the ink drop should be centered.
- // TODO(varkha): This should be moved to InkDropConsumer.
virtual gfx::Point CalculateInkDropCenter() const = 0;
+ // Returns true if the InkDropHover should be shown.
+ virtual bool ShouldShowInkDropHover() const = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(InkDropHost);
};
« no previous file with comments | « ui/views/animation/ink_drop_delegate.h ('k') | ui/views/animation/ink_drop_hover.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698