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

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

Issue 1280953003: Enhance the material design ripple API so the ripple's state can be controlled by it's owning View. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed some comments from patch set 1. Created 5 years, 4 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 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_INK_DROP_HOST_H_
6 #define UI_VIEWS_ANIMATION_INK_DROP_HOST_H_
7
8 #include "base/macros.h"
9 #include "ui/views/views_export.h"
10
11 namespace ui {
12 class Layer;
13 } // namespace ui
14
15 namespace views {
16
17 // Used by the InkDropAnimationController to add and remove the ink drop layers
18 // from a hosts layer tree.
tdanderson 2015/08/10 16:31:01 nit: hosts -> host's
bruthig 2015/08/10 21:57:15 Done.
19 class VIEWS_EXPORT InkDropHost {
20 public:
21 InkDropHost() {}
22 virtual ~InkDropHost() {}
23
24 // Add the |ink_drop_layer| in to a visible layer tree.
25 virtual void AddInkDropLayer(ui::Layer* ink_drop_layer) = 0;
26
27 // Removes |ink_drop_layer| from the layer tree.
28 virtual void RemoveInkDropLayer(ui::Layer* ink_drop_layer) = 0;
29
30 private:
31 DISALLOW_COPY_AND_ASSIGN(InkDropHost);
32 };
33
34 } // namespace views
35
36 #endif // UI_VIEWS_ANIMATION_INK_DROP_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698