| 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 #include "components/scheduler/renderer/renderer_scheduler_impl.h" | 5 #include "components/scheduler/renderer/renderer_scheduler_impl.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/message_loop/message_loop_proxy.h" | |
| 9 #include "base/trace_event/trace_event.h" | 8 #include "base/trace_event/trace_event.h" |
| 10 #include "base/trace_event/trace_event_argument.h" | 9 #include "base/trace_event/trace_event_argument.h" |
| 11 #include "cc/output/begin_frame_args.h" | 10 #include "cc/output/begin_frame_args.h" |
| 12 #include "components/scheduler/child/nestable_single_thread_task_runner.h" | 11 #include "components/scheduler/child/nestable_single_thread_task_runner.h" |
| 13 #include "components/scheduler/child/prioritizing_task_queue_selector.h" | 12 #include "components/scheduler/child/prioritizing_task_queue_selector.h" |
| 14 | 13 |
| 15 namespace scheduler { | 14 namespace scheduler { |
| 16 | 15 |
| 17 RendererSchedulerImpl::RendererSchedulerImpl( | 16 RendererSchedulerImpl::RendererSchedulerImpl( |
| 18 scoped_refptr<NestableSingleThreadTaskRunner> main_task_runner) | 17 scoped_refptr<NestableSingleThreadTaskRunner> main_task_runner) |
| (...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 // meaningful touchstart response and should not impact task priority. | 618 // meaningful touchstart response and should not impact task priority. |
| 620 return current_state; | 619 return current_state; |
| 621 | 620 |
| 622 default: | 621 default: |
| 623 break; | 622 break; |
| 624 } | 623 } |
| 625 return InputStreamState::ACTIVE; | 624 return InputStreamState::ACTIVE; |
| 626 } | 625 } |
| 627 | 626 |
| 628 } // namespace scheduler | 627 } // namespace scheduler |
| OLD | NEW |