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

Side by Side Diff: cc/playback/display_item_list.h

Issue 2503283002: cc: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing fwd class decl in blimp_embedder_compositor.h 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 | « cc/output/software_output_device.h ('k') | cc/playback/recording_source.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_LIST_H_ 5 #ifndef CC_PLAYBACK_DISPLAY_ITEM_LIST_H_
6 #define CC_PLAYBACK_DISPLAY_ITEM_LIST_H_ 6 #define CC_PLAYBACK_DISPLAY_ITEM_LIST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/trace_event/trace_event.h" 16 #include "base/trace_event/trace_event.h"
17 #include "cc/base/cc_export.h" 17 #include "cc/base/cc_export.h"
18 #include "cc/base/contiguous_container.h" 18 #include "cc/base/contiguous_container.h"
19 #include "cc/base/rtree.h" 19 #include "cc/base/rtree.h"
20 #include "cc/playback/discardable_image_map.h" 20 #include "cc/playback/discardable_image_map.h"
21 #include "cc/playback/display_item.h" 21 #include "cc/playback/display_item.h"
22 #include "cc/playback/display_item_list_settings.h" 22 #include "cc/playback/display_item_list_settings.h"
23 #include "third_party/skia/include/core/SkPicture.h" 23 #include "third_party/skia/include/core/SkPicture.h"
24 #include "ui/gfx/geometry/rect.h" 24 #include "ui/gfx/geometry/rect.h"
25 #include "ui/gfx/geometry/rect_conversions.h" 25 #include "ui/gfx/geometry/rect_conversions.h"
26 26
27 class SkCanvas; 27 class SkCanvas;
28 class SkPictureRecorder;
29 28
30 namespace cc { 29 namespace cc {
31 class ClientPictureCache; 30 class ClientPictureCache;
32 class DisplayItem; 31 class DisplayItem;
33 class DrawingDisplayItem;
34 32
35 namespace proto { 33 namespace proto {
36 class DisplayItemList; 34 class DisplayItemList;
37 } 35 }
38 36
39 class CC_EXPORT DisplayItemList 37 class CC_EXPORT DisplayItemList
40 : public base::RefCountedThreadSafe<DisplayItemList> { 38 : public base::RefCountedThreadSafe<DisplayItemList> {
41 public: 39 public:
42 // Creates a display item list. 40 // Creates a display item list.
43 static scoped_refptr<DisplayItemList> Create( 41 static scoped_refptr<DisplayItemList> Create(
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 Inputs inputs_; 219 Inputs inputs_;
222 220
223 friend class base::RefCountedThreadSafe<DisplayItemList>; 221 friend class base::RefCountedThreadSafe<DisplayItemList>;
224 FRIEND_TEST_ALL_PREFIXES(DisplayItemListTest, ApproximateMemoryUsage); 222 FRIEND_TEST_ALL_PREFIXES(DisplayItemListTest, ApproximateMemoryUsage);
225 DISALLOW_COPY_AND_ASSIGN(DisplayItemList); 223 DISALLOW_COPY_AND_ASSIGN(DisplayItemList);
226 }; 224 };
227 225
228 } // namespace cc 226 } // namespace cc
229 227
230 #endif // CC_PLAYBACK_DISPLAY_ITEM_LIST_H_ 228 #endif // CC_PLAYBACK_DISPLAY_ITEM_LIST_H_
OLDNEW
« no previous file with comments | « cc/output/software_output_device.h ('k') | cc/playback/recording_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698