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

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

Issue 2447523002: [ash-md] Added different highlighting modes to the InkDropImpl. (Closed)
Patch Set: Fixed compile errors. Created 4 years, 1 month 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_host.h
diff --git a/ui/views/animation/ink_drop_host.h b/ui/views/animation/ink_drop_host.h
index d6b39bf2344efd6e27223ad15265f2704ab49554..dee86389f9a401c8f44d6331e36305ce2a853194 100644
--- a/ui/views/animation/ink_drop_host.h
+++ b/ui/views/animation/ink_drop_host.h
@@ -17,6 +17,7 @@ class Layer;
namespace views {
+class InkDrop;
class InkDropRipple;
class InkDropHighlight;
@@ -38,6 +39,9 @@ class VIEWS_EXPORT InkDropHost {
// Removes |ink_drop_layer| from the layer tree.
virtual void RemoveInkDropLayer(ui::Layer* ink_drop_layer) = 0;
+ // Returns a configured InkDrop.
sky 2016/11/02 02:52:11 I have to admit I'm confused by the function names
bruthig 2016/11/04 18:50:36 I've updated the docs as an interim fix. I will t
+ virtual std::unique_ptr<InkDrop> CreateInkDrop() = 0;
+
// Creates and returns the effect used for press.
virtual std::unique_ptr<InkDropRipple> CreateInkDropRipple() const = 0;

Powered by Google App Engine
This is Rietveld 408576698