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

Side by Side Diff: cc/layers/picture_layer_impl.h

Issue 13051003: cpplint.py pass on cc/(base|debug|quads|resources)/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix prioritized_resource_unittest Created 7 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 | Annotate | Revision Log
« no previous file with comments | « cc/layers/layer_unittest.cc ('k') | cc/quads/checkerboard_draw_quad.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_IMPL_H_ 5 #ifndef CC_LAYERS_PICTURE_LAYER_IMPL_H_
6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_ 6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_
7 7
8 #include "cc/base/cc_export.h"
8 #include "cc/base/scoped_ptr_vector.h" 9 #include "cc/base/scoped_ptr_vector.h"
9 #include "cc/layers/layer_impl.h" 10 #include "cc/layers/layer_impl.h"
10 #include "cc/resources/picture_layer_tiling.h" 11 #include "cc/resources/picture_layer_tiling.h"
11 #include "cc/resources/picture_layer_tiling_set.h" 12 #include "cc/resources/picture_layer_tiling_set.h"
12 #include "cc/resources/picture_pile_impl.h" 13 #include "cc/resources/picture_pile_impl.h"
13 #include "skia/ext/refptr.h" 14 #include "skia/ext/refptr.h"
14 #include "third_party/skia/include/core/SkPicture.h" 15 #include "third_party/skia/include/core/SkPicture.h"
15 16
16 namespace cc { 17 namespace cc {
17 18
18 struct AppendQuadsData; 19 struct AppendQuadsData;
19 class QuadSink; 20 class QuadSink;
20 21
21 class CC_EXPORT PictureLayerImpl : public LayerImpl, 22 class CC_EXPORT PictureLayerImpl
22 public PictureLayerTilingClient { 23 : public LayerImpl,
24 NON_EXPORTED_BASE(public PictureLayerTilingClient) {
23 public: 25 public:
24 static scoped_ptr<PictureLayerImpl> Create(LayerTreeImpl* tree_impl, int id) { 26 static scoped_ptr<PictureLayerImpl> Create(LayerTreeImpl* tree_impl, int id) {
25 return make_scoped_ptr(new PictureLayerImpl(tree_impl, id)); 27 return make_scoped_ptr(new PictureLayerImpl(tree_impl, id));
26 } 28 }
27 virtual ~PictureLayerImpl(); 29 virtual ~PictureLayerImpl();
28 30
29 // LayerImpl overrides. 31 // LayerImpl overrides.
30 virtual const char* LayerTypeAsString() const OVERRIDE; 32 virtual const char* LayerTypeAsString() const OVERRIDE;
31 virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) 33 virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl)
32 OVERRIDE; 34 OVERRIDE;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 bool raster_source_scale_was_animating_; 111 bool raster_source_scale_was_animating_;
110 bool is_using_lcd_text_; 112 bool is_using_lcd_text_;
111 113
112 friend class PictureLayer; 114 friend class PictureLayer;
113 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); 115 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl);
114 }; 116 };
115 117
116 } 118 }
117 119
118 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ 120 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/layer_unittest.cc ('k') | cc/quads/checkerboard_draw_quad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698