OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_VIEW_SCHEDULER
_IMPL_H_ | 5 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_VIEW_SCHEDULER
_IMPL_H_ |
6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_VIEW_SCHEDULER
_IMPL_H_ | 6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_VIEW_SCHEDULER
_IMPL_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "public/platform/scheduler/base/task_queue.h" | 13 #include "public/platform/scheduler/base/task_queue.h" |
14 #include "public/platform/WebCommon.h" | 14 #include "public/platform/WebCommon.h" |
15 #include "public/platform/WebScheduler.h" | 15 #include "public/platform/WebScheduler.h" |
16 #include "public/platform/WebViewScheduler.h" | 16 #include "public/platform/WebViewScheduler.h" |
17 #include "platform/scheduler/renderer/task_queue_throttler.h" | 17 #include "platform/scheduler/renderer/task_queue_throttler.h" |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 namespace trace_event { | 20 namespace trace_event { |
21 class BlameContext; | 21 class BlameContext; |
22 } // namespace trace_event | 22 } // namespace trace_event |
23 class SingleThreadTaskRunner; | |
24 } // namespace base | 23 } // namespace base |
25 | 24 |
26 namespace blink { | 25 namespace blink { |
27 namespace scheduler { | 26 namespace scheduler { |
28 | 27 |
29 class RendererSchedulerImpl; | 28 class RendererSchedulerImpl; |
30 class WebFrameSchedulerImpl; | 29 class WebFrameSchedulerImpl; |
31 | 30 |
32 class BLINK_PLATFORM_EXPORT WebViewSchedulerImpl : public WebViewScheduler { | 31 class BLINK_PLATFORM_EXPORT WebViewSchedulerImpl : public WebViewScheduler { |
33 public: | 32 public: |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 TaskQueueThrottler::TimeBudgetPool* | 85 TaskQueueThrottler::TimeBudgetPool* |
87 background_time_budget_pool_; // Not owned. | 86 background_time_budget_pool_; // Not owned. |
88 | 87 |
89 DISALLOW_COPY_AND_ASSIGN(WebViewSchedulerImpl); | 88 DISALLOW_COPY_AND_ASSIGN(WebViewSchedulerImpl); |
90 }; | 89 }; |
91 | 90 |
92 } // namespace scheduler | 91 } // namespace scheduler |
93 } // namespace blink | 92 } // namespace blink |
94 | 93 |
95 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_VIEW_SCHEDU
LER_IMPL_H_ | 94 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_VIEW_SCHEDU
LER_IMPL_H_ |
OLD | NEW |