| 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_FRAME_SCHEDULE
R_IMPL_H_ | 5 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_FRAME_SCHEDULE
R_IMPL_H_ |
| 6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_FRAME_SCHEDULE
R_IMPL_H_ | 6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_FRAME_SCHEDULE
R_IMPL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/trace_event/trace_event.h" | 12 #include "base/trace_event/trace_event.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/WebFrameScheduler.h" | 15 #include "public/platform/WebFrameScheduler.h" |
| 16 | 16 |
| 17 namespace base { | 17 namespace base { |
| 18 namespace trace_event { | 18 namespace trace_event { |
| 19 class BlameContext; | 19 class BlameContext; |
| 20 } // namespace trace_event | 20 } // namespace trace_event |
| 21 class SingleThreadTaskRunner; | |
| 22 } // namespace base | 21 } // namespace base |
| 23 | 22 |
| 24 namespace blink { | 23 namespace blink { |
| 25 namespace scheduler { | 24 namespace scheduler { |
| 26 | 25 |
| 27 class AutoAdvancingVirtualTimeDomain; | |
| 28 class RendererSchedulerImpl; | 26 class RendererSchedulerImpl; |
| 29 class TaskQueue; | 27 class TaskQueue; |
| 30 class WebTaskRunnerImpl; | 28 class WebTaskRunnerImpl; |
| 31 class WebViewSchedulerImpl; | 29 class WebViewSchedulerImpl; |
| 32 | 30 |
| 33 class BLINK_PLATFORM_EXPORT WebFrameSchedulerImpl : public WebFrameScheduler { | 31 class BLINK_PLATFORM_EXPORT WebFrameSchedulerImpl : public WebFrameScheduler { |
| 34 public: | 32 public: |
| 35 WebFrameSchedulerImpl(RendererSchedulerImpl* renderer_scheduler, | 33 WebFrameSchedulerImpl(RendererSchedulerImpl* renderer_scheduler, |
| 36 WebViewSchedulerImpl* parent_web_view_scheduler, | 34 WebViewSchedulerImpl* parent_web_view_scheduler, |
| 37 base::trace_event::BlameContext* blame_context); | 35 base::trace_event::BlameContext* blame_context); |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 bool page_visible_; | 70 bool page_visible_; |
| 73 bool cross_origin_; | 71 bool cross_origin_; |
| 74 | 72 |
| 75 DISALLOW_COPY_AND_ASSIGN(WebFrameSchedulerImpl); | 73 DISALLOW_COPY_AND_ASSIGN(WebFrameSchedulerImpl); |
| 76 }; | 74 }; |
| 77 | 75 |
| 78 } // namespace scheduler | 76 } // namespace scheduler |
| 79 } // namespace blink | 77 } // namespace blink |
| 80 | 78 |
| 81 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_FRAME_SCHED
ULER_IMPL_H_ | 79 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_FRAME_SCHED
ULER_IMPL_H_ |
| OLD | NEW |