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/base/region.h" |
8 #include "cc/layer_updater.h" | 9 #include "cc/layer_updater.h" |
9 #include "cc/prioritized_resource.h" | 10 #include "cc/prioritized_resource.h" |
10 #include "cc/region.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" |
17 #include "ui/gfx/rect.h" | 17 #include "ui/gfx/rect.h" |
18 #include "ui/gfx/size.h" | 18 #include "ui/gfx/size.h" |
19 | 19 |
20 namespace cc { | 20 namespace cc { |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 gfx::Size* contentBounds) OVERRIDE; | 125 gfx::Size* contentBounds) OVERRIDE; |
126 | 126 |
127 protected: | 127 protected: |
128 virtual ~FakeTiledLayerWithScaledBounds(); | 128 virtual ~FakeTiledLayerWithScaledBounds(); |
129 gfx::Size m_forcedContentBounds; | 129 gfx::Size m_forcedContentBounds; |
130 }; | 130 }; |
131 | 131 |
132 } // namespace cc | 132 } // namespace cc |
133 | 133 |
134 #endif // CC_TEST_TILED_LAYER_TEST_COMMON_H_ | 134 #endif // CC_TEST_TILED_LAYER_TEST_COMMON_H_ |
OLD | NEW |