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

Side by Side Diff: cc/layers/picture_layer.cc

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/layers/picture_image_layer_unittest.cc ('k') | cc/layers/picture_layer_impl.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #include "cc/layers/picture_layer.h" 5 #include "cc/layers/picture_layer.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/trace_event/trace_event.h" 8 #include "base/trace_event/trace_event.h"
9 #include "cc/layers/content_layer_client.h" 9 #include "cc/layers/content_layer_client.h"
10 #include "cc/layers/picture_layer_impl.h" 10 #include "cc/layers/picture_layer_impl.h"
11 #include "cc/layers/recording_source.h"
11 #include "cc/paint/paint_record.h" 12 #include "cc/paint/paint_record.h"
12 #include "cc/playback/recording_source.h"
13 #include "cc/trees/layer_tree_host.h" 13 #include "cc/trees/layer_tree_host.h"
14 #include "cc/trees/layer_tree_impl.h" 14 #include "cc/trees/layer_tree_impl.h"
15 #include "ui/gfx/geometry/rect_conversions.h" 15 #include "ui/gfx/geometry/rect_conversions.h"
16 16
17 namespace cc { 17 namespace cc {
18 18
19 PictureLayer::PictureLayerInputs::PictureLayerInputs() = default; 19 PictureLayer::PictureLayerInputs::PictureLayerInputs() = default;
20 20
21 PictureLayer::PictureLayerInputs::~PictureLayerInputs() = default; 21 PictureLayer::PictureLayerInputs::~PictureLayerInputs() = default;
22 22
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 picture_layer_inputs_.display_list = nullptr; 231 picture_layer_inputs_.display_list = nullptr;
232 picture_layer_inputs_.painter_reported_memory_usage = 0; 232 picture_layer_inputs_.painter_reported_memory_usage = 0;
233 } 233 }
234 } 234 }
235 235
236 const DisplayItemList* PictureLayer::GetDisplayItemList() { 236 const DisplayItemList* PictureLayer::GetDisplayItemList() {
237 return picture_layer_inputs_.display_list.get(); 237 return picture_layer_inputs_.display_list.get();
238 } 238 }
239 239
240 } // namespace cc 240 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/picture_image_layer_unittest.cc ('k') | cc/layers/picture_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698