OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_common.h" | 5 #include "cc/trees/layer_tree_host_common.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
12 #include "base/strings/string_piece.h" | 12 #include "base/strings/string_piece.h" |
13 #include "base/threading/thread.h" | 13 #include "base/threading/thread.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
| 15 #include "cc/debug/lap_timer.h" |
15 #include "cc/layers/layer.h" | 16 #include "cc/layers/layer.h" |
16 #include "cc/test/fake_content_layer_client.h" | 17 #include "cc/test/fake_content_layer_client.h" |
17 #include "cc/test/fake_layer_tree_host_client.h" | 18 #include "cc/test/fake_layer_tree_host_client.h" |
18 #include "cc/test/lap_timer.h" | |
19 #include "cc/test/layer_tree_json_parser.h" | 19 #include "cc/test/layer_tree_json_parser.h" |
20 #include "cc/test/layer_tree_test.h" | 20 #include "cc/test/layer_tree_test.h" |
21 #include "cc/test/paths.h" | 21 #include "cc/test/paths.h" |
22 #include "cc/trees/layer_tree_impl.h" | 22 #include "cc/trees/layer_tree_impl.h" |
23 #include "testing/perf/perf_test.h" | 23 #include "testing/perf/perf_test.h" |
24 | 24 |
25 namespace cc { | 25 namespace cc { |
26 namespace { | 26 namespace { |
27 | 27 |
28 static const int kTimeLimitMillis = 2000; | 28 static const int kTimeLimitMillis = 2000; |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 } | 191 } |
192 | 192 |
193 TEST_F(CalcDrawPropsImplTest, TouchRegionHeavy) { | 193 TEST_F(CalcDrawPropsImplTest, TouchRegionHeavy) { |
194 SetTestName("touch_region_heavy"); | 194 SetTestName("touch_region_heavy"); |
195 ReadTestFile("touch_region_heavy"); | 195 ReadTestFile("touch_region_heavy"); |
196 RunCalcDrawProps(); | 196 RunCalcDrawProps(); |
197 } | 197 } |
198 | 198 |
199 } // namespace | 199 } // namespace |
200 } // namespace cc | 200 } // namespace cc |
OLD | NEW |