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 COMPONENTS_SCHEDULER_RENDERER_RENDERER_SCHEDULER_H_ | 5 #ifndef COMPONENTS_SCHEDULER_RENDERER_RENDERER_SCHEDULER_H_ |
6 #define COMPONENTS_SCHEDULER_RENDERER_RENDERER_SCHEDULER_H_ | 6 #define COMPONENTS_SCHEDULER_RENDERER_RENDERER_SCHEDULER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
9 #include "components/scheduler/child/child_scheduler.h" | 10 #include "components/scheduler/child/child_scheduler.h" |
10 #include "components/scheduler/child/single_thread_idle_task_runner.h" | 11 #include "components/scheduler/child/single_thread_idle_task_runner.h" |
11 #include "components/scheduler/renderer/render_widget_scheduling_state.h" | 12 #include "components/scheduler/renderer/render_widget_scheduling_state.h" |
12 #include "components/scheduler/scheduler_export.h" | 13 #include "components/scheduler/scheduler_export.h" |
13 #include "third_party/WebKit/public/web/WebInputEvent.h" | 14 #include "third_party/WebKit/public/web/WebInputEvent.h" |
14 | 15 |
15 namespace cc { | 16 namespace cc { |
16 struct BeginFrameArgs; | 17 struct BeginFrameArgs; |
17 } | 18 } |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 virtual double MonotonicallyIncreasingTimeSeconds() const = 0; | 159 virtual double MonotonicallyIncreasingTimeSeconds() const = 0; |
159 | 160 |
160 protected: | 161 protected: |
161 RendererScheduler(); | 162 RendererScheduler(); |
162 DISALLOW_COPY_AND_ASSIGN(RendererScheduler); | 163 DISALLOW_COPY_AND_ASSIGN(RendererScheduler); |
163 }; | 164 }; |
164 | 165 |
165 } // namespace scheduler | 166 } // namespace scheduler |
166 | 167 |
167 #endif // COMPONENTS_SCHEDULER_RENDERER_RENDERER_SCHEDULER_H_ | 168 #endif // COMPONENTS_SCHEDULER_RENDERER_RENDERER_SCHEDULER_H_ |
OLD | NEW |