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

Side by Side Diff: cc/tiled_layer_impl.h

Issue 11365025: Make cc a component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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 | Annotate | Revision Log
« no previous file with comments | « cc/tiled_layer.h ('k') | cc/tiling_data.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 CCTiledLayerImpl_h 5 #ifndef CCTiledLayerImpl_h
6 #define CCTiledLayerImpl_h 6 #define CCTiledLayerImpl_h
7 7
8 #include "cc/cc_export.h"
8 #include "cc/layer_impl.h" 9 #include "cc/layer_impl.h"
9 #include <public/WebTransformationMatrix.h> 10 #include <public/WebTransformationMatrix.h>
10 11
11 namespace cc { 12 namespace cc {
12 13
13 class LayerTilingData; 14 class LayerTilingData;
14 class DrawableTile; 15 class DrawableTile;
15 16
16 class TiledLayerImpl : public LayerImpl { 17 class CC_EXPORT TiledLayerImpl : public LayerImpl {
17 public: 18 public:
18 static scoped_ptr<TiledLayerImpl> create(int id) 19 static scoped_ptr<TiledLayerImpl> create(int id)
19 { 20 {
20 return make_scoped_ptr(new TiledLayerImpl(id)); 21 return make_scoped_ptr(new TiledLayerImpl(id));
21 } 22 }
22 virtual ~TiledLayerImpl(); 23 virtual ~TiledLayerImpl();
23 24
24 virtual void appendQuads(QuadSink&, AppendQuadsData&) OVERRIDE; 25 virtual void appendQuads(QuadSink&, AppendQuadsData&) OVERRIDE;
25 26
26 virtual ResourceProvider::ResourceId contentsResourceId() const OVERRIDE; 27 virtual ResourceProvider::ResourceId contentsResourceId() const OVERRIDE;
(...skipping 22 matching lines...) Expand all
49 DrawableTile* createTile(int, int); 50 DrawableTile* createTile(int, int);
50 51
51 bool m_skipsDraw; 52 bool m_skipsDraw;
52 53
53 scoped_ptr<LayerTilingData> m_tiler; 54 scoped_ptr<LayerTilingData> m_tiler;
54 }; 55 };
55 56
56 } 57 }
57 58
58 #endif // CCTiledLayerImpl_h 59 #endif // CCTiledLayerImpl_h
OLDNEW
« no previous file with comments | « cc/tiled_layer.h ('k') | cc/tiling_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698