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

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: 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/tile_draw_quad.h ('k') | cc/tiled_layer_impl.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 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/contents_scaling_layer.h" 9 #include "cc/contents_scaling_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 ContentsScalingLayer { 16 class CC_EXPORT TiledLayer : public ContentsScalingLayer {
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 25
25 virtual void setNeedsDisplayRect(const gfx::RectF&) OVERRIDE; 26 virtual void setNeedsDisplayRect(const gfx::RectF&) OVERRIDE;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 gfx::Rect m_predictedVisibleRect; 95 gfx::Rect m_predictedVisibleRect;
95 gfx::Rect m_previousVisibleRect; 96 gfx::Rect m_previousVisibleRect;
96 gfx::Size m_previousContentBounds; 97 gfx::Size m_previousContentBounds;
97 98
98 TilingOption m_tilingOption; 99 TilingOption m_tilingOption;
99 scoped_ptr<LayerTilingData> m_tiler; 100 scoped_ptr<LayerTilingData> m_tiler;
100 }; 101 };
101 102
102 } 103 }
103 #endif 104 #endif
OLDNEW
« no previous file with comments | « cc/tile_draw_quad.h ('k') | cc/tiled_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698