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 CC_TEST_TILED_LAYER_TEST_COMMON_H_ |
6 #define CCTiledLayerTestCommon_h | 6 #define CC_TEST_TILED_LAYER_TEST_COMMON_H_ |
7 | 7 |
8 #include "Region.h" | 8 #include "Region.h" |
9 #include "cc/layer_updater.h" | 9 #include "cc/layer_updater.h" |
10 #include "cc/prioritized_texture.h" | 10 #include "cc/prioritized_texture.h" |
11 #include "cc/resource_provider.h" | 11 #include "cc/resource_provider.h" |
12 #include "cc/resource_update_queue.h" | 12 #include "cc/resource_update_queue.h" |
13 #include "cc/texture_copier.h" | 13 #include "cc/texture_copier.h" |
14 #include "cc/texture_uploader.h" | 14 #include "cc/texture_uploader.h" |
15 #include "cc/tiled_layer.h" | 15 #include "cc/tiled_layer.h" |
16 #include "cc/tiled_layer_impl.h" | 16 #include "cc/tiled_layer_impl.h" |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 virtual float contentsScaleX() const OVERRIDE; | 119 virtual float contentsScaleX() const OVERRIDE; |
120 virtual float contentsScaleY() const OVERRIDE; | 120 virtual float contentsScaleY() const OVERRIDE; |
121 virtual void setContentsScale(float) OVERRIDE; | 121 virtual void setContentsScale(float) OVERRIDE; |
122 | 122 |
123 protected: | 123 protected: |
124 virtual ~FakeTiledLayerWithScaledBounds(); | 124 virtual ~FakeTiledLayerWithScaledBounds(); |
125 gfx::Size m_forcedContentBounds; | 125 gfx::Size m_forcedContentBounds; |
126 }; | 126 }; |
127 | 127 |
128 } | 128 } |
129 #endif // CCTiledLayerTestCommon_h | 129 #endif // CC_TEST_TILED_LAYER_TEST_COMMON_H_ |
OLD | NEW |