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 CC_TEST_TILED_LAYER_TEST_COMMON_H_ | 5 #ifndef CC_TEST_TILED_LAYER_TEST_COMMON_H_ |
6 #define CC_TEST_TILED_LAYER_TEST_COMMON_H_ | 6 #define CC_TEST_TILED_LAYER_TEST_COMMON_H_ |
7 | 7 |
8 #include "cc/layer_updater.h" | 8 #include "cc/layer_updater.h" |
9 #include "cc/prioritized_resource.h" | 9 #include "cc/prioritized_resource.h" |
10 #include "cc/region.h" | 10 #include "cc/region.h" |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 float* contentsScaleX, | 123 float* contentsScaleX, |
124 float* contentsScaleY, | 124 float* contentsScaleY, |
125 gfx::Size* contentBounds) OVERRIDE; | 125 gfx::Size* contentBounds) OVERRIDE; |
126 virtual void didUpdateBounds() OVERRIDE; | 126 virtual void didUpdateBounds() OVERRIDE; |
127 | 127 |
128 protected: | 128 protected: |
129 virtual ~FakeTiledLayerWithScaledBounds(); | 129 virtual ~FakeTiledLayerWithScaledBounds(); |
130 gfx::Size m_forcedContentBounds; | 130 gfx::Size m_forcedContentBounds; |
131 }; | 131 }; |
132 | 132 |
133 } | 133 } // namespace cc |
| 134 |
134 #endif // CC_TEST_TILED_LAYER_TEST_COMMON_H_ | 135 #endif // CC_TEST_TILED_LAYER_TEST_COMMON_H_ |
OLD | NEW |