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

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

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 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
« no previous file with comments | « ui/shell_dialogs/select_file_dialog.h ('k') | ui/views/animation/ink_drop_highlight.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_ANIMATION_INK_DROP_H_ 5 #ifndef UI_VIEWS_ANIMATION_INK_DROP_H_
6 #define UI_VIEWS_ANIMATION_INK_DROP_H_ 6 #define UI_VIEWS_ANIMATION_INK_DROP_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "ui/compositor/layer_tree_owner.h" 12 #include "ui/compositor/layer_tree_owner.h"
13 #include "ui/events/event_handler.h" 13 #include "ui/events/event_handler.h"
14 #include "ui/gfx/geometry/rect.h" 14 #include "ui/gfx/geometry/rect.h"
15 #include "ui/gfx/geometry/size.h" 15 #include "ui/gfx/geometry/size.h"
16 #include "ui/views/animation/ink_drop_state.h" 16 #include "ui/views/animation/ink_drop_state.h"
17 #include "ui/views/views_export.h" 17 #include "ui/views/views_export.h"
18 18
19 namespace ui {
20 class Layer;
21 }
22 namespace views { 19 namespace views {
23 20
24 // Pure virtual base class that manages the lifetime and state of an ink drop 21 // Pure virtual base class that manages the lifetime and state of an ink drop
25 // ripple as well as visual hover state feedback. 22 // ripple as well as visual hover state feedback.
26 class VIEWS_EXPORT InkDrop { 23 class VIEWS_EXPORT InkDrop {
27 public: 24 public:
28 virtual ~InkDrop() {} 25 virtual ~InkDrop() {}
29 26
30 // Gets the target state of the ink drop. 27 // Gets the target state of the ink drop.
31 virtual InkDropState GetTargetInkDropState() const = 0; 28 virtual InkDropState GetTargetInkDropState() const = 0;
(...skipping 16 matching lines...) Expand all
48 protected: 45 protected:
49 InkDrop() {} 46 InkDrop() {}
50 47
51 private: 48 private:
52 DISALLOW_COPY_AND_ASSIGN(InkDrop); 49 DISALLOW_COPY_AND_ASSIGN(InkDrop);
53 }; 50 };
54 51
55 } // namespace views 52 } // namespace views
56 53
57 #endif // UI_VIEWS_ANIMATION_INK_DROP_H_ 54 #endif // UI_VIEWS_ANIMATION_INK_DROP_H_
OLDNEW
« no previous file with comments | « ui/shell_dialogs/select_file_dialog.h ('k') | ui/views/animation/ink_drop_highlight.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698