Index: ui/views/animation/ink_drop_host_view.h |
diff --git a/ui/views/animation/ink_drop_host_view.h b/ui/views/animation/ink_drop_host_view.h |
index 151992097c1171866a94e8170f5bcd5686c53b27..fc39a978134d882d0a4a7be41cee371a07642553 100644 |
--- a/ui/views/animation/ink_drop_host_view.h |
+++ b/ui/views/animation/ink_drop_host_view.h |
@@ -52,6 +52,7 @@ class VIEWS_EXPORT InkDropHostView : public View, public InkDropHost { |
// TODO(bruthig): Add an easier mechanism than overriding functions to allow |
// subclasses/clients to specify the flavor of ink drop. |
void SetInkDropMode(InkDropMode ink_drop_mode); |
+ InkDropMode ink_drop_mode() const { return ink_drop_mode_; } |
void set_ink_drop_visible_opacity(float visible_opacity) { |
ink_drop_visible_opacity_ = visible_opacity; |
@@ -114,6 +115,12 @@ class VIEWS_EXPORT InkDropHostView : public View, public InkDropHost { |
// subclasses should be able to call SetInkDropMode() during construction. |
InkDrop* GetInkDrop(); |
+ // Initializes and sets a mask on |ink_drop_layer|. No-op if |
+ // CreateInkDropMask() returns null. |
+ void InstallInkDropMask(ui::Layer* ink_drop_layer); |
+ |
+ void ResetInkDropMask(); |
+ |
// Returns an InkDropImpl configured to work well with a |
// flood-fill ink drop ripple. |
std::unique_ptr<InkDropImpl> CreateDefaultFloodFillInkDropImpl(); |