Index: ui/views/animation/toolbar_ink_drop_delegate.h |
diff --git a/ui/views/animation/toolbar_ink_drop_delegate.h b/ui/views/animation/toolbar_ink_drop_delegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..32b44ef5772f8901b1a43f6264eb79e909452def |
--- /dev/null |
+++ b/ui/views/animation/toolbar_ink_drop_delegate.h |
@@ -0,0 +1,38 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef UI_VIEWS_ANIMATION_TOOLBAR_INK_DROP_DELEGATE_H_ |
+#define UI_VIEWS_ANIMATION_TOOLBAR_INK_DROP_DELEGATE_H_ |
+ |
+#include "base/macros.h" |
+#include "ui/views/animation/ink_drop_delegate.h" |
+#include "ui/views/views_export.h" |
+ |
+namespace ui { |
+class GestureEvent; |
+} // namespace ui |
+ |
+namespace views { |
+ |
+class InkDropAnimationController; |
+ |
+// . |
+class VIEWS_EXPORT ToolbarInkDropDelegate : public InkDropDelegate { |
bruthig
2015/11/06 20:29:11
Am I correct to assume that you've only implemente
varkha
2015/11/06 20:51:50
Of course. I have only implemented a concrete part
|
+ public: |
+ ToolbarInkDropDelegate( |
+ InkDropAnimationController* ink_drop_animation_controller_); |
+ ~ToolbarInkDropDelegate() override; |
+ |
+ // InkDropDelegate: |
+ void OnGestureEvent(ui::GestureEvent* event) override; |
+ |
+ private: |
+ InkDropAnimationController* ink_drop_animation_controller_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(ToolbarInkDropDelegate); |
+}; |
+ |
+} // namespace views |
+ |
+#endif // UI_VIEWS_ANIMATION_TOOLBAR_INK_DROP_DELEGATE_H_ |