| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/renderer/render_thread_impl.h" | 5 #include "content/renderer/render_thread_impl.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <limits> | 8 #include <limits> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 1252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1263 params.renderer_preferences, | 1263 params.renderer_preferences, |
| 1264 params.web_preferences, | 1264 params.web_preferences, |
| 1265 params.view_id, | 1265 params.view_id, |
| 1266 params.main_frame_routing_id, | 1266 params.main_frame_routing_id, |
| 1267 params.surface_id, | 1267 params.surface_id, |
| 1268 params.session_storage_namespace_id, | 1268 params.session_storage_namespace_id, |
| 1269 params.frame_name, | 1269 params.frame_name, |
| 1270 false, | 1270 false, |
| 1271 params.swapped_out, | 1271 params.swapped_out, |
| 1272 params.hidden, | 1272 params.hidden, |
| 1273 params.never_visible, |
| 1273 params.next_page_id, | 1274 params.next_page_id, |
| 1274 params.screen_info, | 1275 params.screen_info, |
| 1275 params.accessibility_mode); | 1276 params.accessibility_mode); |
| 1276 } | 1277 } |
| 1277 | 1278 |
| 1278 GpuChannelHost* RenderThreadImpl::EstablishGpuChannelSync( | 1279 GpuChannelHost* RenderThreadImpl::EstablishGpuChannelSync( |
| 1279 CauseForGpuLaunch cause_for_gpu_launch) { | 1280 CauseForGpuLaunch cause_for_gpu_launch) { |
| 1280 TRACE_EVENT0("gpu", "RenderThreadImpl::EstablishGpuChannelSync"); | 1281 TRACE_EVENT0("gpu", "RenderThreadImpl::EstablishGpuChannelSync"); |
| 1281 | 1282 |
| 1282 if (gpu_channel_.get()) { | 1283 if (gpu_channel_.get()) { |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1517 hidden_widget_count_--; | 1518 hidden_widget_count_--; |
| 1518 | 1519 |
| 1519 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) { | 1520 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) { |
| 1520 return; | 1521 return; |
| 1521 } | 1522 } |
| 1522 | 1523 |
| 1523 ScheduleIdleHandler(kLongIdleHandlerDelayMs); | 1524 ScheduleIdleHandler(kLongIdleHandlerDelayMs); |
| 1524 } | 1525 } |
| 1525 | 1526 |
| 1526 } // namespace content | 1527 } // namespace content |
| OLD | NEW |