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 #include "cc/trees/layer_tree_host.h" | 5 #include "cc/trees/layer_tree_host.h" |
6 | 6 |
7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
10 #include "base/string_piece.h" | 10 #include "base/strings/string_piece.h" |
11 #include "cc/layers/content_layer.h" | 11 #include "cc/layers/content_layer.h" |
12 #include "cc/layers/nine_patch_layer.h" | 12 #include "cc/layers/nine_patch_layer.h" |
13 #include "cc/layers/solid_color_layer.h" | 13 #include "cc/layers/solid_color_layer.h" |
14 #include "cc/test/fake_content_layer_client.h" | 14 #include "cc/test/fake_content_layer_client.h" |
15 #include "cc/test/layer_tree_json_parser.h" | 15 #include "cc/test/layer_tree_json_parser.h" |
16 #include "cc/test/layer_tree_test.h" | 16 #include "cc/test/layer_tree_test.h" |
17 #include "cc/test/paths.h" | 17 #include "cc/test/paths.h" |
18 | 18 |
19 namespace cc { | 19 namespace cc { |
20 namespace { | 20 namespace { |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 scoped_refptr<Layer> scrollable_; | 136 scoped_refptr<Layer> scrollable_; |
137 }; | 137 }; |
138 | 138 |
139 TEST_F(ScrollingLayerTreePerfTest, LongScrollablePage) { | 139 TEST_F(ScrollingLayerTreePerfTest, LongScrollablePage) { |
140 ReadTestFile("long_scrollable_page"); | 140 ReadTestFile("long_scrollable_page"); |
141 RunTest(false); | 141 RunTest(false); |
142 } | 142 } |
143 | 143 |
144 } // namespace | 144 } // namespace |
145 } // namespace cc | 145 } // namespace cc |
OLD | NEW |