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

Side by Side Diff: ui/views/animation/toolbar_ink_drop_delegate.h

Issue 1411833006: Refactoring to make adding ink drop animations easier (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Attempt to refactor ink drop animations Created 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_VIEWS_ANIMATION_TOOLBAR_INK_DROP_DELEGATE_H_
6 #define UI_VIEWS_ANIMATION_TOOLBAR_INK_DROP_DELEGATE_H_
7
8 #include "base/macros.h"
9 #include "ui/views/animation/ink_drop_delegate.h"
10 #include "ui/views/views_export.h"
11
12 namespace ui {
13 class GestureEvent;
14 } // namespace ui
15
16 namespace views {
17
18 class InkDropAnimationController;
19
20 // .
21 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
22 public:
23 ToolbarInkDropDelegate(
24 InkDropAnimationController* ink_drop_animation_controller_);
25 ~ToolbarInkDropDelegate() override;
26
27 // InkDropDelegate:
28 void OnGestureEvent(ui::GestureEvent* event) override;
29
30 private:
31 InkDropAnimationController* ink_drop_animation_controller_;
32
33 DISALLOW_COPY_AND_ASSIGN(ToolbarInkDropDelegate);
34 };
35
36 } // namespace views
37
38 #endif // UI_VIEWS_ANIMATION_TOOLBAR_INK_DROP_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698