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

Side by Side Diff: cc/layers/picture_layer.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/layers/painted_scrollbar_layer_impl.h ('k') | cc/layers/scrollbar_layer_interface.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 #ifndef CC_LAYERS_PICTURE_LAYER_H_ 5 #ifndef CC_LAYERS_PICTURE_LAYER_H_
6 #define CC_LAYERS_PICTURE_LAYER_H_ 6 #define CC_LAYERS_PICTURE_LAYER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "cc/base/invalidation_region.h" 9 #include "cc/base/invalidation_region.h"
10 #include "cc/debug/devtools_instrumentation.h" 10 #include "cc/debug/devtools_instrumentation.h"
11 #include "cc/debug/micro_benchmark_controller.h" 11 #include "cc/debug/micro_benchmark_controller.h"
12 #include "cc/layers/layer.h" 12 #include "cc/layers/layer.h"
13 13
14 namespace cc { 14 namespace cc {
15 15
16 namespace proto {
17 class PictureLayerProperties;
18 }
19
20 class ContentLayerClient; 16 class ContentLayerClient;
21 class DisplayItemList; 17 class DisplayItemList;
22 class RecordingSource; 18 class RecordingSource;
23 class ResourceUpdateQueue;
24 19
25 class CC_EXPORT PictureLayer : public Layer { 20 class CC_EXPORT PictureLayer : public Layer {
26 public: 21 public:
27 static scoped_refptr<PictureLayer> Create(ContentLayerClient* client); 22 static scoped_refptr<PictureLayer> Create(ContentLayerClient* client);
28 23
29 void ClearClient(); 24 void ClearClient();
30 25
31 void SetNearestNeighbor(bool nearest_neighbor); 26 void SetNearestNeighbor(bool nearest_neighbor);
32 bool nearest_neighbor() const { 27 bool nearest_neighbor() const {
33 return picture_layer_inputs_.nearest_neighbor; 28 return picture_layer_inputs_.nearest_neighbor;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 90
96 int update_source_frame_number_; 91 int update_source_frame_number_;
97 bool is_mask_; 92 bool is_mask_;
98 93
99 DISALLOW_COPY_AND_ASSIGN(PictureLayer); 94 DISALLOW_COPY_AND_ASSIGN(PictureLayer);
100 }; 95 };
101 96
102 } // namespace cc 97 } // namespace cc
103 98
104 #endif // CC_LAYERS_PICTURE_LAYER_H_ 99 #endif // CC_LAYERS_PICTURE_LAYER_H_
OLDNEW
« no previous file with comments | « cc/layers/painted_scrollbar_layer_impl.h ('k') | cc/layers/scrollbar_layer_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698