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_view_impl.h" | 5 #include "content/renderer/render_view_impl.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <cmath> | 8 #include <cmath> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "base/string_util.h" | 24 #include "base/string_util.h" |
25 #include "base/sys_string_conversions.h" | 25 #include "base/sys_string_conversions.h" |
26 #include "base/time.h" | 26 #include "base/time.h" |
27 #include "base/utf_string_conversions.h" | 27 #include "base/utf_string_conversions.h" |
28 #include "content/common/appcache/appcache_dispatcher.h" | 28 #include "content/common/appcache/appcache_dispatcher.h" |
29 #include "content/common/clipboard_messages.h" | 29 #include "content/common/clipboard_messages.h" |
30 #include "content/common/database_messages.h" | 30 #include "content/common/database_messages.h" |
31 #include "content/common/drag_messages.h" | 31 #include "content/common/drag_messages.h" |
32 #include "content/common/file_system/file_system_dispatcher.h" | 32 #include "content/common/file_system/file_system_dispatcher.h" |
33 #include "content/common/file_system/webfilesystem_callback_dispatcher.h" | 33 #include "content/common/file_system/webfilesystem_callback_dispatcher.h" |
| 34 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" |
34 #include "content/common/intents_messages.h" | 35 #include "content/common/intents_messages.h" |
35 #include "content/common/java_bridge_messages.h" | 36 #include "content/common/java_bridge_messages.h" |
36 #include "content/common/pepper_messages.h" | 37 #include "content/common/pepper_messages.h" |
37 #include "content/common/pepper_plugin_registry.h" | 38 #include "content/common/pepper_plugin_registry.h" |
38 #include "content/common/quota_dispatcher.h" | 39 #include "content/common/quota_dispatcher.h" |
39 #include "content/common/request_extra_data.h" | 40 #include "content/common/request_extra_data.h" |
40 #include "content/common/view_messages.h" | 41 #include "content/common/view_messages.h" |
41 #include "content/public/common/bindings_policy.h" | 42 #include "content/public/common/bindings_policy.h" |
42 #include "content/public/common/content_constants.h" | 43 #include "content/public/common/content_constants.h" |
43 #include "content/public/common/content_switches.h" | 44 #include "content/public/common/content_switches.h" |
44 #include "content/public/common/file_chooser_params.h" | 45 #include "content/public/common/file_chooser_params.h" |
45 #include "content/public/common/url_constants.h" | 46 #include "content/public/common/url_constants.h" |
46 #include "content/public/renderer/content_renderer_client.h" | 47 #include "content/public/renderer/content_renderer_client.h" |
47 #include "content/public/renderer/document_state.h" | 48 #include "content/public/renderer/document_state.h" |
48 #include "content/public/renderer/navigation_state.h" | 49 #include "content/public/renderer/navigation_state.h" |
49 #include "content/public/renderer/render_view_observer.h" | 50 #include "content/public/renderer/render_view_observer.h" |
50 #include "content/public/renderer/render_view_visitor.h" | 51 #include "content/public/renderer/render_view_visitor.h" |
51 #include "content/renderer/device_orientation_dispatcher.h" | 52 #include "content/renderer/device_orientation_dispatcher.h" |
52 #include "content/renderer/devtools_agent.h" | 53 #include "content/renderer/devtools_agent.h" |
53 #include "content/renderer/dom_automation_controller.h" | 54 #include "content/renderer/dom_automation_controller.h" |
54 #include "content/renderer/external_popup_menu.h" | 55 #include "content/renderer/external_popup_menu.h" |
55 #include "content/renderer/geolocation_dispatcher.h" | 56 #include "content/renderer/geolocation_dispatcher.h" |
56 #include "content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h" | |
57 #include "content/renderer/idle_user_detector.h" | 57 #include "content/renderer/idle_user_detector.h" |
58 #include "content/renderer/web_intents_host.h" | 58 #include "content/renderer/web_intents_host.h" |
59 #include "content/renderer/java/java_bridge_dispatcher.h" | 59 #include "content/renderer/java/java_bridge_dispatcher.h" |
60 #include "content/renderer/load_progress_tracker.h" | 60 #include "content/renderer/load_progress_tracker.h" |
61 #include "content/renderer/media/audio_message_filter.h" | 61 #include "content/renderer/media/audio_message_filter.h" |
62 #include "content/renderer/media/audio_renderer_impl.h" | 62 #include "content/renderer/media/audio_renderer_impl.h" |
63 #include "content/renderer/media/media_stream_dependency_factory.h" | 63 #include "content/renderer/media/media_stream_dependency_factory.h" |
64 #include "content/renderer/media/media_stream_dispatcher.h" | 64 #include "content/renderer/media/media_stream_dispatcher.h" |
65 #include "content/renderer/media/media_stream_impl.h" | 65 #include "content/renderer/media/media_stream_impl.h" |
66 #include "content/renderer/media/render_audiosourceprovider.h" | 66 #include "content/renderer/media/render_audiosourceprovider.h" |
(...skipping 4920 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4987 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { | 4987 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { |
4988 return !!RenderThreadImpl::current()->compositor_thread(); | 4988 return !!RenderThreadImpl::current()->compositor_thread(); |
4989 } | 4989 } |
4990 | 4990 |
4991 void RenderViewImpl::OnJavaBridgeInit() { | 4991 void RenderViewImpl::OnJavaBridgeInit() { |
4992 DCHECK(!java_bridge_dispatcher_.get()); | 4992 DCHECK(!java_bridge_dispatcher_.get()); |
4993 #if defined(ENABLE_JAVA_BRIDGE) | 4993 #if defined(ENABLE_JAVA_BRIDGE) |
4994 java_bridge_dispatcher_.reset(new JavaBridgeDispatcher(this)); | 4994 java_bridge_dispatcher_.reset(new JavaBridgeDispatcher(this)); |
4995 #endif | 4995 #endif |
4996 } | 4996 } |
OLD | NEW |