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" | 8 #include "CCGraphicsContext.h" |
9 #include "CCPrioritizedTexture.h" | |
10 #include "IntRect.h" | 9 #include "IntRect.h" |
11 #include "IntSize.h" | 10 #include "IntSize.h" |
12 #include "Region.h" | 11 #include "Region.h" |
13 #include "cc/layer_texture_updater.h" | 12 #include "cc/layer_texture_updater.h" |
| 13 #include "cc/prioritized_texture.h" |
14 #include "cc/resource_provider.h" | 14 #include "cc/resource_provider.h" |
15 #include "cc/texture_copier.h" | 15 #include "cc/texture_copier.h" |
16 #include "cc/texture_update_queue.h" | 16 #include "cc/texture_update_queue.h" |
17 #include "cc/texture_uploader.h" | 17 #include "cc/texture_uploader.h" |
18 #include "cc/tiled_layer.h" | 18 #include "cc/tiled_layer.h" |
19 #include "cc/tiled_layer_impl.h" | 19 #include "cc/tiled_layer_impl.h" |
20 | 20 |
21 namespace WebKitTests { | 21 namespace WebKitTests { |
22 | 22 |
23 class FakeTiledLayerChromium; | 23 class FakeTiledLayerChromium; |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 void setContentBounds(const cc::IntSize& contentBounds) { m_forcedContentBou
nds = contentBounds; } | 119 void setContentBounds(const cc::IntSize& contentBounds) { m_forcedContentBou
nds = contentBounds; } |
120 virtual cc::IntSize contentBounds() const OVERRIDE; | 120 virtual cc::IntSize contentBounds() const OVERRIDE; |
121 | 121 |
122 protected: | 122 protected: |
123 virtual ~FakeTiledLayerWithScaledBounds(); | 123 virtual ~FakeTiledLayerWithScaledBounds(); |
124 cc::IntSize m_forcedContentBounds; | 124 cc::IntSize m_forcedContentBounds; |
125 }; | 125 }; |
126 | 126 |
127 } | 127 } |
128 #endif // CCTiledLayerTestCommon_h | 128 #endif // CCTiledLayerTestCommon_h |
OLD | NEW |