OLD | NEW |
---|---|
(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_CONSUMER_H_ | |
6 #define UI_VIEWS_ANIMATION_INK_DROP_CONSUMER_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "ui/views/views_export.h" | |
10 | |
11 namespace views { | |
12 | |
13 // Pure virtual base class that defines the API required of the ink drop | |
Evan Stade
2015/11/12 19:31:46
nit: s/Pure virtual base class/Interface/
bruthig
2015/12/23 20:31:35
Done.
| |
14 // consuming surface such that the InkDropController can interact with it. | |
15 class VIEWS_EXPORT InkDropConsumer { | |
Evan Stade
2015/11/12 19:31:46
why is this not part of InkDropHost? It looks pret
bruthig
2015/11/12 21:16:12
The thinking is that the InkDropHost could host mu
bruthig
2015/12/23 20:31:35
The InkDropConsumer has been removed.
| |
16 public: | |
17 InkDropConsumer() {} | |
18 virtual ~InkDropConsumer() {} | |
19 | |
20 // Returns true if the InkDropHover should be shown. | |
21 virtual bool ShouldShowInkDropHover() = 0; | |
22 | |
23 private: | |
24 DISALLOW_COPY_AND_ASSIGN(InkDropConsumer); | |
25 }; | |
26 | |
27 } // namespace views | |
28 | |
29 #endif // UI_VIEWS_ANIMATION_INK_DROP_CONSUMER_H_ | |
OLD | NEW |