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

Side by Side Diff: cc/tiled_layer.h

Issue 11365025: Make cc a component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win?? 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
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 TiledLayerChromium_h 5 #ifndef TiledLayerChromium_h
6 #define TiledLayerChromium_h 6 #define TiledLayerChromium_h
7 7
8 #include "cc/cc_export.h"
8 #include "cc/layer.h" 9 #include "cc/layer.h"
10 #include "cc/layer_tiling_data.h"
9 #include "cc/layer_updater.h" 11 #include "cc/layer_updater.h"
10 #include "cc/layer_tiling_data.h"
11 12
12 namespace cc { 13 namespace cc {
13 class UpdatableTile; 14 class UpdatableTile;
14 15
15 class TiledLayer : public Layer { 16 class CC_EXPORT TiledLayer : public Layer {
16 public: 17 public:
17 enum TilingOption { AlwaysTile, NeverTile, AutoTile }; 18 enum TilingOption { AlwaysTile, NeverTile, AutoTile };
18 19
19 virtual void setIsMask(bool) OVERRIDE; 20 virtual void setIsMask(bool) OVERRIDE;
20 21
21 virtual void pushPropertiesTo(LayerImpl*) OVERRIDE; 22 virtual void pushPropertiesTo(LayerImpl*) OVERRIDE;
22 23
23 virtual bool drawsContent() const OVERRIDE; 24 virtual bool drawsContent() const OVERRIDE;
24 virtual bool needsContentsScale() const OVERRIDE; 25 virtual bool needsContentsScale() const OVERRIDE;
25 26
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 IntRect m_predictedVisibleRect; 98 IntRect m_predictedVisibleRect;
98 IntRect m_previousVisibleRect; 99 IntRect m_previousVisibleRect;
99 IntSize m_previousContentBounds; 100 IntSize m_previousContentBounds;
100 101
101 TilingOption m_tilingOption; 102 TilingOption m_tilingOption;
102 scoped_ptr<LayerTilingData> m_tiler; 103 scoped_ptr<LayerTilingData> m_tiler;
103 }; 104 };
104 105
105 } 106 }
106 #endif 107 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698