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

Side by Side Diff: cc/paint/display_item.h

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint Created 3 years, 9 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
« no previous file with comments | « cc/paint/discardable_image_map_unittest.cc ('k') | cc/paint/display_item_list.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CC_PLAYBACK_DISPLAY_ITEM_H_ 5 #ifndef CC_PAINT_DISPLAY_ITEM_H_
6 #define CC_PLAYBACK_DISPLAY_ITEM_H_ 6 #define CC_PAINT_DISPLAY_ITEM_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "cc/base/cc_export.h" 12 #include "cc/cc_export.h"
13 #include "cc/debug/traced_value.h" 13 #include "cc/debug/traced_value.h"
14 #include "cc/paint/paint_export.h"
14 #include "third_party/skia/include/core/SkPicture.h" 15 #include "third_party/skia/include/core/SkPicture.h"
15 #include "ui/gfx/geometry/rect.h" 16 #include "ui/gfx/geometry/rect.h"
16 17
17 namespace cc { 18 namespace cc {
18 19
19 class CC_EXPORT DisplayItem { 20 class CC_PAINT_EXPORT DisplayItem {
20 public: 21 public:
21 virtual ~DisplayItem() = default; 22 virtual ~DisplayItem() = default;
22 23
23 enum Type { 24 enum Type {
24 CLIP, 25 CLIP,
25 END_CLIP, 26 END_CLIP,
26 CLIP_PATH, 27 CLIP_PATH,
27 END_CLIP_PATH, 28 END_CLIP_PATH,
28 COMPOSITING, 29 COMPOSITING,
29 END_COMPOSITING, 30 END_COMPOSITING,
30 DRAWING, 31 DRAWING,
31 FILTER, 32 FILTER,
32 END_FILTER, 33 END_FILTER,
33 FLOAT_CLIP, 34 FLOAT_CLIP,
34 END_FLOAT_CLIP, 35 END_FLOAT_CLIP,
35 TRANSFORM, 36 TRANSFORM,
36 END_TRANSFORM, 37 END_TRANSFORM,
37 }; 38 };
38 const Type type; 39 const Type type;
39 40
40 protected: 41 protected:
41 explicit DisplayItem(Type type) : type(type) {} 42 explicit DisplayItem(Type type) : type(type) {}
42 }; 43 };
43 44
44 } // namespace cc 45 } // namespace cc
45 46
46 #endif // CC_PLAYBACK_DISPLAY_ITEM_H_ 47 #endif // CC_PAINT_DISPLAY_ITEM_H_
OLDNEW
« no previous file with comments | « cc/paint/discardable_image_map_unittest.cc ('k') | cc/paint/display_item_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698