OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 BLIMP_ENGINE_RENDERER_FRAME_SCHEDULER_H_ | 5 #ifndef BLIMP_ENGINE_RENDERER_FRAME_SCHEDULER_H_ |
6 #define BLIMP_ENGINE_RENDERER_FRAME_SCHEDULER_H_ | 6 #define BLIMP_ENGINE_RENDERER_FRAME_SCHEDULER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/ref_counted.h" |
9 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 11 #include "base/single_thread_task_runner.h" |
10 #include "base/timer/timer.h" | 12 #include "base/timer/timer.h" |
11 | 13 |
12 namespace blimp { | 14 namespace blimp { |
13 namespace engine { | 15 namespace engine { |
14 | 16 |
15 class FrameSchedulerClient { | 17 class FrameSchedulerClient { |
16 public: | 18 public: |
17 virtual ~FrameSchedulerClient() {} | 19 virtual ~FrameSchedulerClient() {} |
18 | 20 |
19 // Used to notify the SchedulerClient to start the requested frame update. | 21 // Used to notify the SchedulerClient to start the requested frame update. |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 | 89 |
88 FrameSchedulerClient* client_; | 90 FrameSchedulerClient* client_; |
89 | 91 |
90 DISALLOW_COPY_AND_ASSIGN(FrameScheduler); | 92 DISALLOW_COPY_AND_ASSIGN(FrameScheduler); |
91 }; | 93 }; |
92 | 94 |
93 } // namespace engine | 95 } // namespace engine |
94 } // namespace blimp | 96 } // namespace blimp |
95 | 97 |
96 #endif // BLIMP_ENGINE_RENDERER_FRAME_SCHEDULER_H_ | 98 #endif // BLIMP_ENGINE_RENDERER_FRAME_SCHEDULER_H_ |
OLD | NEW |