| 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 THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_RENDERER_SCHEDULER
_IMPL_H_ | 5 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_RENDERER_SCHEDULER
_IMPL_H_ |
| 6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_RENDERER_SCHEDULER
_IMPL_H_ | 6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_RENDERER_SCHEDULER
_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/atomicops.h" | 8 #include "base/atomicops.h" |
| 9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 } | 32 } |
| 33 } | 33 } |
| 34 | 34 |
| 35 namespace blink { | 35 namespace blink { |
| 36 namespace scheduler { | 36 namespace scheduler { |
| 37 class AutoAdvancingVirtualTimeDomain; | 37 class AutoAdvancingVirtualTimeDomain; |
| 38 class RenderWidgetSchedulingState; | 38 class RenderWidgetSchedulingState; |
| 39 class WebViewSchedulerImpl; | 39 class WebViewSchedulerImpl; |
| 40 class TaskQueueThrottler; | 40 class TaskQueueThrottler; |
| 41 | 41 |
| 42 class BLINK_PLATFORM_EXPORT RendererSchedulerImpl | 42 class PLATFORM_EXPORT RendererSchedulerImpl |
| 43 : public RendererScheduler, | 43 : public RendererScheduler, |
| 44 public IdleHelper::Delegate, | 44 public IdleHelper::Delegate, |
| 45 public SchedulerHelper::Observer, | 45 public SchedulerHelper::Observer, |
| 46 public RenderWidgetSignals::Observer, | 46 public RenderWidgetSignals::Observer, |
| 47 public TaskTimeObserver, | 47 public TaskTimeObserver, |
| 48 public QueueingTimeEstimator::Client, | 48 public QueueingTimeEstimator::Client, |
| 49 public base::trace_event::TraceLog::AsyncEnabledStateObserver { | 49 public base::trace_event::TraceLog::AsyncEnabledStateObserver { |
| 50 public: | 50 public: |
| 51 // Keep RendererScheduler::UseCaseToString in sync with this enum. | 51 // Keep RendererScheduler::UseCaseToString in sync with this enum. |
| 52 enum class UseCase { | 52 enum class UseCase { |
| (...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 | 550 |
| 551 base::WeakPtrFactory<RendererSchedulerImpl> weak_factory_; | 551 base::WeakPtrFactory<RendererSchedulerImpl> weak_factory_; |
| 552 | 552 |
| 553 DISALLOW_COPY_AND_ASSIGN(RendererSchedulerImpl); | 553 DISALLOW_COPY_AND_ASSIGN(RendererSchedulerImpl); |
| 554 }; | 554 }; |
| 555 | 555 |
| 556 } // namespace scheduler | 556 } // namespace scheduler |
| 557 } // namespace blink | 557 } // namespace blink |
| 558 | 558 |
| 559 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_RENDERER_SCHEDU
LER_IMPL_H_ | 559 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_RENDERER_SCHEDU
LER_IMPL_H_ |
| OLD | NEW |