| 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 COMPONENTS_SCHEDULER_RENDERER_WEB_FRAME_SCHEDULER_IMPL_H_ | 5 #ifndef COMPONENTS_SCHEDULER_RENDERER_WEB_FRAME_SCHEDULER_IMPL_H_ |
| 6 #define COMPONENTS_SCHEDULER_RENDERER_WEB_FRAME_SCHEDULER_IMPL_H_ | 6 #define COMPONENTS_SCHEDULER_RENDERER_WEB_FRAME_SCHEDULER_IMPL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 | 50 |
| 51 void DetachFromWebViewScheduler(); | 51 void DetachFromWebViewScheduler(); |
| 52 void ApplyPolicyToTimerQueue(); | 52 void ApplyPolicyToTimerQueue(); |
| 53 | 53 |
| 54 scoped_refptr<TaskQueue> loading_task_queue_; | 54 scoped_refptr<TaskQueue> loading_task_queue_; |
| 55 scoped_refptr<TaskQueue> timer_task_queue_; | 55 scoped_refptr<TaskQueue> timer_task_queue_; |
| 56 std::unique_ptr<WebTaskRunnerImpl> loading_web_task_runner_; | 56 std::unique_ptr<WebTaskRunnerImpl> loading_web_task_runner_; |
| 57 std::unique_ptr<WebTaskRunnerImpl> timer_web_task_runner_; | 57 std::unique_ptr<WebTaskRunnerImpl> timer_web_task_runner_; |
| 58 RendererSchedulerImpl* renderer_scheduler_; // NOT OWNED | 58 RendererSchedulerImpl* renderer_scheduler_; // NOT OWNED |
| 59 WebViewSchedulerImpl* parent_web_view_scheduler_; // NOT OWNED | 59 WebViewSchedulerImpl* parent_web_view_scheduler_; // NOT OWNED |
| 60 base::trace_event::BlameContext* blame_context_; // NOT OWNED | 60 base::WeakPtr<base::trace_event::BlameContext> blame_context_; |
| 61 TaskQueue::PumpPolicy virtual_time_pump_policy_; | 61 TaskQueue::PumpPolicy virtual_time_pump_policy_; |
| 62 bool frame_visible_; | 62 bool frame_visible_; |
| 63 bool page_visible_; | 63 bool page_visible_; |
| 64 | 64 |
| 65 DISALLOW_COPY_AND_ASSIGN(WebFrameSchedulerImpl); | 65 DISALLOW_COPY_AND_ASSIGN(WebFrameSchedulerImpl); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace scheduler | 68 } // namespace scheduler |
| 69 | 69 |
| 70 #endif // COMPONENTS_SCHEDULER_RENDERER_WEB_FRAME_SCHEDULER_IMPL_H_ | 70 #endif // COMPONENTS_SCHEDULER_RENDERER_WEB_FRAME_SCHEDULER_IMPL_H_ |
| OLD | NEW |