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

Side by Side Diff: cc/picture_layer_impl.h

Issue 12086018: GTTF: Add missing virtual destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots 4 Created 7 years, 10 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/layer_tree_host_impl.h ('k') | cc/picture_layer_tiling.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_PICTURE_LAYER_IMPL_H_ 5 #ifndef CC_PICTURE_LAYER_IMPL_H_
6 #define CC_PICTURE_LAYER_IMPL_H_ 6 #define CC_PICTURE_LAYER_IMPL_H_
7 7
8 #include "cc/layer_impl.h" 8 #include "cc/layer_impl.h"
9 #include "cc/picture_layer_tiling.h" 9 #include "cc/picture_layer_tiling.h"
10 #include "cc/picture_layer_tiling_set.h" 10 #include "cc/picture_layer_tiling_set.h"
11 #include "cc/picture_pile_impl.h" 11 #include "cc/picture_pile_impl.h"
12 #include "cc/scoped_ptr_vector.h" 12 #include "cc/scoped_ptr_vector.h"
13 #include "skia/ext/refptr.h" 13 #include "skia/ext/refptr.h"
14 #include "third_party/skia/include/core/SkPicture.h" 14 #include "third_party/skia/include/core/SkPicture.h"
15 15
16 namespace cc { 16 namespace cc {
17 17
18 struct AppendQuadsData; 18 struct AppendQuadsData;
19 class QuadSink; 19 class QuadSink;
20 20
21 class CC_EXPORT PictureLayerImpl : public LayerImpl, 21 class CC_EXPORT PictureLayerImpl
22 public PictureLayerTilingClient { 22 : public LayerImpl,
23 public NON_EXPORTED_BASE(PictureLayerTilingClient) {
23 public: 24 public:
24 static scoped_ptr<PictureLayerImpl> create(LayerTreeImpl* treeImpl, int id) 25 static scoped_ptr<PictureLayerImpl> create(LayerTreeImpl* treeImpl, int id)
25 { 26 {
26 return make_scoped_ptr(new PictureLayerImpl(treeImpl, id)); 27 return make_scoped_ptr(new PictureLayerImpl(treeImpl, id));
27 } 28 }
28 virtual ~PictureLayerImpl(); 29 virtual ~PictureLayerImpl();
29 30
30 // LayerImpl overrides. 31 // LayerImpl overrides.
31 virtual const char* layerTypeAsString() const OVERRIDE; 32 virtual const char* layerTypeAsString() const OVERRIDE;
32 virtual scoped_ptr<LayerImpl> createLayerImpl( 33 virtual scoped_ptr<LayerImpl> createLayerImpl(
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 float raster_source_scale_; 102 float raster_source_scale_;
102 bool raster_source_scale_was_animating_; 103 bool raster_source_scale_was_animating_;
103 104
104 friend class PictureLayer; 105 friend class PictureLayer;
105 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); 106 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl);
106 }; 107 };
107 108
108 } 109 }
109 110
110 #endif // CC_PICTURE_LAYER_IMPL_H_ 111 #endif // CC_PICTURE_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layer_tree_host_impl.h ('k') | cc/picture_layer_tiling.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698