OLD | NEW |
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 CCTiledLayerTestCommon_h | 5 #ifndef CCTiledLayerTestCommon_h |
6 #define CCTiledLayerTestCommon_h | 6 #define CCTiledLayerTestCommon_h |
7 | 7 |
8 #include "CCGraphicsContext.h" | |
9 #include "IntRect.h" | 8 #include "IntRect.h" |
10 #include "IntSize.h" | 9 #include "IntSize.h" |
11 #include "Region.h" | 10 #include "Region.h" |
12 #include "cc/layer_updater.h" | 11 #include "cc/layer_updater.h" |
13 #include "cc/prioritized_texture.h" | 12 #include "cc/prioritized_texture.h" |
14 #include "cc/resource_provider.h" | 13 #include "cc/resource_provider.h" |
15 #include "cc/texture_copier.h" | 14 #include "cc/texture_copier.h" |
16 #include "cc/texture_update_queue.h" | 15 #include "cc/texture_update_queue.h" |
17 #include "cc/texture_uploader.h" | 16 #include "cc/texture_uploader.h" |
18 #include "cc/tiled_layer.h" | 17 #include "cc/tiled_layer.h" |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 void setContentBounds(const cc::IntSize& contentBounds) { m_forcedContentBou
nds = contentBounds; } | 117 void setContentBounds(const cc::IntSize& contentBounds) { m_forcedContentBou
nds = contentBounds; } |
119 virtual cc::IntSize contentBounds() const OVERRIDE; | 118 virtual cc::IntSize contentBounds() const OVERRIDE; |
120 | 119 |
121 protected: | 120 protected: |
122 virtual ~FakeTiledLayerWithScaledBounds(); | 121 virtual ~FakeTiledLayerWithScaledBounds(); |
123 cc::IntSize m_forcedContentBounds; | 122 cc::IntSize m_forcedContentBounds; |
124 }; | 123 }; |
125 | 124 |
126 } | 125 } |
127 #endif // CCTiledLayerTestCommon_h | 126 #endif // CCTiledLayerTestCommon_h |
OLD | NEW |