OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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/scheduler/scheduler.h" | 5 #include "cc/scheduler/scheduler.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <string> | 9 #include <string> |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/logging.h" | 12 #include "base/logging.h" |
11 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
12 #include "base/numerics/safe_conversions.h" | 14 #include "base/numerics/safe_conversions.h" |
13 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
14 #include "base/time/time.h" | 16 #include "base/time/time.h" |
15 #include "base/trace_event/trace_event.h" | 17 #include "base/trace_event/trace_event.h" |
16 #include "cc/test/begin_frame_args_test.h" | 18 #include "cc/test/begin_frame_args_test.h" |
(...skipping 3535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3552 } | 3554 } |
3553 | 3555 |
3554 TEST_F(SchedulerTest, BeginMainFrameOnCriticalPath_AHS) { | 3556 TEST_F(SchedulerTest, BeginMainFrameOnCriticalPath_AHS) { |
3555 EXPECT_FALSE(BeginMainFrameOnCriticalPath( | 3557 EXPECT_FALSE(BeginMainFrameOnCriticalPath( |
3556 SMOOTHNESS_TAKES_PRIORITY, | 3558 SMOOTHNESS_TAKES_PRIORITY, |
3557 ScrollHandlerState::SCROLL_AFFECTS_SCROLL_HANDLER, kSlowDuration)); | 3559 ScrollHandlerState::SCROLL_AFFECTS_SCROLL_HANDLER, kSlowDuration)); |
3558 } | 3560 } |
3559 | 3561 |
3560 } // namespace | 3562 } // namespace |
3561 } // namespace cc | 3563 } // namespace cc |
OLD | NEW |