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 11 matching lines...) Expand all Loading... |
22 #include "base/string_number_conversions.h" | 22 #include "base/string_number_conversions.h" |
23 #include "base/string_split.h" | 23 #include "base/string_split.h" |
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/fileapi/file_system_dispatcher.h" |
33 #include "content/common/file_system/webfilesystem_callback_dispatcher.h" | 33 #include "content/common/fileapi/webfilesystem_callback_dispatcher.h" |
34 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" | 34 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" |
35 #include "content/common/intents_messages.h" | 35 #include "content/common/intents_messages.h" |
36 #include "content/common/java_bridge_messages.h" | 36 #include "content/common/java_bridge_messages.h" |
37 #include "content/common/pepper_messages.h" | 37 #include "content/common/pepper_messages.h" |
38 #include "content/common/pepper_plugin_registry.h" | 38 #include "content/common/pepper_plugin_registry.h" |
39 #include "content/common/quota_dispatcher.h" | 39 #include "content/common/quota_dispatcher.h" |
40 #include "content/common/request_extra_data.h" | 40 #include "content/common/request_extra_data.h" |
41 #include "content/common/view_messages.h" | 41 #include "content/common/view_messages.h" |
42 #include "content/public/common/bindings_policy.h" | 42 #include "content/public/common/bindings_policy.h" |
43 #include "content/public/common/content_constants.h" | 43 #include "content/public/common/content_constants.h" |
(...skipping 5054 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5098 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { | 5098 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { |
5099 return !!RenderThreadImpl::current()->compositor_thread(); | 5099 return !!RenderThreadImpl::current()->compositor_thread(); |
5100 } | 5100 } |
5101 | 5101 |
5102 void RenderViewImpl::OnJavaBridgeInit() { | 5102 void RenderViewImpl::OnJavaBridgeInit() { |
5103 DCHECK(!java_bridge_dispatcher_.get()); | 5103 DCHECK(!java_bridge_dispatcher_.get()); |
5104 #if defined(ENABLE_JAVA_BRIDGE) | 5104 #if defined(ENABLE_JAVA_BRIDGE) |
5105 java_bridge_dispatcher_.reset(new JavaBridgeDispatcher(this)); | 5105 java_bridge_dispatcher_.reset(new JavaBridgeDispatcher(this)); |
5106 #endif | 5106 #endif |
5107 } | 5107 } |
OLD | NEW |