| 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 timer_tasks_seem_expensive(false), | 216 timer_tasks_seem_expensive(false), |
| 217 touchstart_expected_soon(false), | 217 touchstart_expected_soon(false), |
| 218 have_seen_a_begin_main_frame(false), | 218 have_seen_a_begin_main_frame(false), |
| 219 have_reported_blocking_intervention_in_current_policy(false), | 219 have_reported_blocking_intervention_in_current_policy(false), |
| 220 have_reported_blocking_intervention_since_navigation(false), | 220 have_reported_blocking_intervention_since_navigation(false), |
| 221 has_visible_render_widget_with_touch_handler(false), | 221 has_visible_render_widget_with_touch_handler(false), |
| 222 begin_frame_not_expected_soon(false), | 222 begin_frame_not_expected_soon(false), |
| 223 in_idle_period_for_testing(false), | 223 in_idle_period_for_testing(false), |
| 224 use_virtual_time(false), | 224 use_virtual_time(false), |
| 225 is_audio_playing(false), | 225 is_audio_playing(false), |
| 226 rail_mode_observer(nullptr) {} | 226 rail_mode_observer(nullptr) { |
| 227 foreground_main_thread_load_tracker.Resume(now); |
| 228 } |
| 227 | 229 |
| 228 RendererSchedulerImpl::MainThreadOnly::~MainThreadOnly() {} | 230 RendererSchedulerImpl::MainThreadOnly::~MainThreadOnly() {} |
| 229 | 231 |
| 230 RendererSchedulerImpl::AnyThread::AnyThread() | 232 RendererSchedulerImpl::AnyThread::AnyThread() |
| 231 : awaiting_touch_start_response(false), | 233 : awaiting_touch_start_response(false), |
| 232 in_idle_period(false), | 234 in_idle_period(false), |
| 233 begin_main_frame_on_critical_path(false), | 235 begin_main_frame_on_critical_path(false), |
| 234 last_gesture_was_compositor_driven(false), | 236 last_gesture_was_compositor_driven(false), |
| 235 default_gesture_prevented(true), | 237 default_gesture_prevented(true), |
| 236 have_seen_touchstart(false), | 238 have_seen_touchstart(false), |
| (...skipping 1653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1890 case TimeDomainType::VIRTUAL: | 1892 case TimeDomainType::VIRTUAL: |
| 1891 return "virtual"; | 1893 return "virtual"; |
| 1892 default: | 1894 default: |
| 1893 NOTREACHED(); | 1895 NOTREACHED(); |
| 1894 return nullptr; | 1896 return nullptr; |
| 1895 } | 1897 } |
| 1896 } | 1898 } |
| 1897 | 1899 |
| 1898 } // namespace scheduler | 1900 } // namespace scheduler |
| 1899 } // namespace blink | 1901 } // namespace blink |
| OLD | NEW |