| 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 #include "platform/scheduler/renderer/renderer_scheduler_impl.h" | 5 #include "platform/scheduler/renderer/renderer_scheduler_impl.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/debug/stack_trace.h" | 8 #include "base/debug/stack_trace.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 timer_tasks_seem_expensive(false), | 220 timer_tasks_seem_expensive(false), |
| 221 touchstart_expected_soon(false), | 221 touchstart_expected_soon(false), |
| 222 have_seen_a_begin_main_frame(false), | 222 have_seen_a_begin_main_frame(false), |
| 223 have_reported_blocking_intervention_in_current_policy(false), | 223 have_reported_blocking_intervention_in_current_policy(false), |
| 224 have_reported_blocking_intervention_since_navigation(false), | 224 have_reported_blocking_intervention_since_navigation(false), |
| 225 has_visible_render_widget_with_touch_handler(false), | 225 has_visible_render_widget_with_touch_handler(false), |
| 226 begin_frame_not_expected_soon(false), | 226 begin_frame_not_expected_soon(false), |
| 227 in_idle_period_for_testing(false), | 227 in_idle_period_for_testing(false), |
| 228 use_virtual_time(false), | 228 use_virtual_time(false), |
| 229 is_audio_playing(false), | 229 is_audio_playing(false), |
| 230 rail_mode_observer(nullptr) {} | 230 rail_mode_observer(nullptr) { |
| 231 foreground_main_thread_load_tracker.Resume(now); |
| 232 } |
| 231 | 233 |
| 232 RendererSchedulerImpl::MainThreadOnly::~MainThreadOnly() {} | 234 RendererSchedulerImpl::MainThreadOnly::~MainThreadOnly() {} |
| 233 | 235 |
| 234 RendererSchedulerImpl::AnyThread::AnyThread() | 236 RendererSchedulerImpl::AnyThread::AnyThread() |
| 235 : awaiting_touch_start_response(false), | 237 : awaiting_touch_start_response(false), |
| 236 in_idle_period(false), | 238 in_idle_period(false), |
| 237 begin_main_frame_on_critical_path(false), | 239 begin_main_frame_on_critical_path(false), |
| 238 last_gesture_was_compositor_driven(false), | 240 last_gesture_was_compositor_driven(false), |
| 239 default_gesture_prevented(true), | 241 default_gesture_prevented(true), |
| 240 have_seen_touchstart(false), | 242 have_seen_touchstart(false), |
| (...skipping 1652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1893 case TimeDomainType::VIRTUAL: | 1895 case TimeDomainType::VIRTUAL: |
| 1894 return "virtual"; | 1896 return "virtual"; |
| 1895 default: | 1897 default: |
| 1896 NOTREACHED(); | 1898 NOTREACHED(); |
| 1897 return nullptr; | 1899 return nullptr; |
| 1898 } | 1900 } |
| 1899 } | 1901 } |
| 1900 | 1902 |
| 1901 } // namespace scheduler | 1903 } // namespace scheduler |
| 1902 } // namespace blink | 1904 } // namespace blink |
| OLD | NEW |