Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_LAYER_TREE_HOST_COMMON_TEST_H_ | 5 #ifndef CC_TEST_LAYER_TREE_HOST_COMMON_TEST_H_ |
| 6 #define CC_TEST_LAYER_TREE_HOST_COMMON_TEST_H_ | 6 #define CC_TEST_LAYER_TREE_HOST_COMMON_TEST_H_ |
| 7 | 7 |
| 8 #include <algorithm> | 8 #include <algorithm> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 152 LayerSettings layer_settings_; | 152 LayerSettings layer_settings_; |
| 153 | 153 |
| 154 int render_surface_layer_list_count_; | 154 int render_surface_layer_list_count_; |
| 155 }; | 155 }; |
| 156 | 156 |
| 157 class LayerTreeHostCommonTest : public LayerTreeHostCommonTestBase, | 157 class LayerTreeHostCommonTest : public LayerTreeHostCommonTestBase, |
| 158 public testing::Test { | 158 public testing::Test { |
| 159 public: | 159 public: |
| 160 LayerTreeHostCommonTest(); | 160 LayerTreeHostCommonTest(); |
| 161 explicit LayerTreeHostCommonTest(const LayerTreeSettings& settings); | 161 explicit LayerTreeHostCommonTest(const LayerTreeSettings& settings); |
| 162 | |
| 163 protected: | |
| 164 void SetScrollOffsetDelta(LayerImpl* layer_impl, const gfx::Vector2dF& delta); | |
|
ajuma
2016/03/07 19:10:19
static void
sunxd
2016/03/09 01:51:20
Done.
| |
| 162 }; | 165 }; |
| 163 | 166 |
| 164 } // namespace cc | 167 } // namespace cc |
| 165 | 168 |
| 166 #endif // CC_TEST_LAYER_TREE_HOST_COMMON_TEST_H_ | 169 #endif // CC_TEST_LAYER_TREE_HOST_COMMON_TEST_H_ |
| OLD | NEW |