| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 #include "content/common/frame_messages.h" | 53 #include "content/common/frame_messages.h" |
| 54 #include "content/common/gpu/client/context_provider_command_buffer.h" | 54 #include "content/common/gpu/client/context_provider_command_buffer.h" |
| 55 #include "content/common/gpu/client/gpu_channel_host.h" | 55 #include "content/common/gpu/client/gpu_channel_host.h" |
| 56 #include "content/common/gpu/client/gpu_memory_buffer_impl.h" | 56 #include "content/common/gpu/client/gpu_memory_buffer_impl.h" |
| 57 #include "content/common/gpu/gpu_messages.h" | 57 #include "content/common/gpu/gpu_messages.h" |
| 58 #include "content/common/gpu/gpu_process_launch_causes.h" | 58 #include "content/common/gpu/gpu_process_launch_causes.h" |
| 59 #include "content/common/render_frame_setup.mojom.h" | 59 #include "content/common/render_frame_setup.mojom.h" |
| 60 #include "content/common/resource_messages.h" | 60 #include "content/common/resource_messages.h" |
| 61 #include "content/common/view_messages.h" | 61 #include "content/common/view_messages.h" |
| 62 #include "content/common/worker_messages.h" | 62 #include "content/common/worker_messages.h" |
| 63 #include "content/grit/content_resources.h" |
| 63 #include "content/public/common/content_constants.h" | 64 #include "content/public/common/content_constants.h" |
| 64 #include "content/public/common/content_paths.h" | 65 #include "content/public/common/content_paths.h" |
| 65 #include "content/public/common/content_switches.h" | 66 #include "content/public/common/content_switches.h" |
| 66 #include "content/public/common/renderer_preferences.h" | 67 #include "content/public/common/renderer_preferences.h" |
| 67 #include "content/public/common/url_constants.h" | 68 #include "content/public/common/url_constants.h" |
| 68 #include "content/public/renderer/content_renderer_client.h" | 69 #include "content/public/renderer/content_renderer_client.h" |
| 69 #include "content/public/renderer/render_process_observer.h" | 70 #include "content/public/renderer/render_process_observer.h" |
| 70 #include "content/public/renderer/render_view_visitor.h" | 71 #include "content/public/renderer/render_view_visitor.h" |
| 71 #include "content/renderer/devtools/devtools_agent_filter.h" | 72 #include "content/renderer/devtools/devtools_agent_filter.h" |
| 72 #include "content/renderer/dom_storage/dom_storage_dispatcher.h" | 73 #include "content/renderer/dom_storage/dom_storage_dispatcher.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 87 #include "content/renderer/media/video_capture_message_filter.h" | 88 #include "content/renderer/media/video_capture_message_filter.h" |
| 88 #include "content/renderer/net_info_helper.h" | 89 #include "content/renderer/net_info_helper.h" |
| 89 #include "content/renderer/p2p/socket_dispatcher.h" | 90 #include "content/renderer/p2p/socket_dispatcher.h" |
| 90 #include "content/renderer/render_frame_proxy.h" | 91 #include "content/renderer/render_frame_proxy.h" |
| 91 #include "content/renderer/render_process_impl.h" | 92 #include "content/renderer/render_process_impl.h" |
| 92 #include "content/renderer/render_view_impl.h" | 93 #include "content/renderer/render_view_impl.h" |
| 93 #include "content/renderer/renderer_webkitplatformsupport_impl.h" | 94 #include "content/renderer/renderer_webkitplatformsupport_impl.h" |
| 94 #include "content/renderer/service_worker/embedded_worker_context_message_filter
.h" | 95 #include "content/renderer/service_worker/embedded_worker_context_message_filter
.h" |
| 95 #include "content/renderer/service_worker/embedded_worker_dispatcher.h" | 96 #include "content/renderer/service_worker/embedded_worker_dispatcher.h" |
| 96 #include "content/renderer/shared_worker/embedded_shared_worker_stub.h" | 97 #include "content/renderer/shared_worker/embedded_shared_worker_stub.h" |
| 97 #include "grit/content_resources.h" | |
| 98 #include "ipc/ipc_channel_handle.h" | 98 #include "ipc/ipc_channel_handle.h" |
| 99 #include "ipc/ipc_forwarding_message_filter.h" | 99 #include "ipc/ipc_forwarding_message_filter.h" |
| 100 #include "ipc/ipc_platform_file.h" | 100 #include "ipc/ipc_platform_file.h" |
| 101 #include "media/base/audio_hardware_config.h" | 101 #include "media/base/audio_hardware_config.h" |
| 102 #include "media/base/media.h" | 102 #include "media/base/media.h" |
| 103 #include "media/filters/gpu_video_accelerator_factories.h" | 103 #include "media/filters/gpu_video_accelerator_factories.h" |
| 104 #include "mojo/common/common_type_converters.h" | 104 #include "mojo/common/common_type_converters.h" |
| 105 #include "net/base/net_errors.h" | 105 #include "net/base/net_errors.h" |
| 106 #include "net/base/net_util.h" | 106 #include "net/base/net_util.h" |
| 107 #include "skia/ext/event_tracer_impl.h" | 107 #include "skia/ext/event_tracer_impl.h" |
| (...skipping 1537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1645 hidden_widget_count_--; | 1645 hidden_widget_count_--; |
| 1646 | 1646 |
| 1647 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) { | 1647 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) { |
| 1648 return; | 1648 return; |
| 1649 } | 1649 } |
| 1650 | 1650 |
| 1651 ScheduleIdleHandler(kLongIdleHandlerDelayMs); | 1651 ScheduleIdleHandler(kLongIdleHandlerDelayMs); |
| 1652 } | 1652 } |
| 1653 | 1653 |
| 1654 } // namespace content | 1654 } // namespace content |
| OLD | NEW |