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 10 matching lines...) Expand all Loading... |
21 #include "base/path_service.h" | 21 #include "base/path_service.h" |
22 #include "base/shared_memory.h" | 22 #include "base/shared_memory.h" |
23 #include "base/strings/string16.h" | 23 #include "base/strings/string16.h" |
24 #include "base/strings/string_number_conversions.h" // Temporary | 24 #include "base/strings/string_number_conversions.h" // Temporary |
25 #include "base/strings/utf_string_conversions.h" | 25 #include "base/strings/utf_string_conversions.h" |
26 #include "base/threading/thread_local.h" | 26 #include "base/threading/thread_local.h" |
27 #include "base/threading/thread_restrictions.h" | 27 #include "base/threading/thread_restrictions.h" |
28 #include "base/values.h" | 28 #include "base/values.h" |
29 #include "content/child/appcache_dispatcher.h" | 29 #include "content/child/appcache_dispatcher.h" |
30 #include "content/child/child_histogram_message_filter.h" | 30 #include "content/child/child_histogram_message_filter.h" |
| 31 #include "content/child/db_message_filter.h" |
31 #include "content/child/indexed_db/indexed_db_dispatcher.h" | 32 #include "content/child/indexed_db/indexed_db_dispatcher.h" |
32 #include "content/child/indexed_db/indexed_db_message_filter.h" | 33 #include "content/child/indexed_db/indexed_db_message_filter.h" |
33 #include "content/child/npobject_util.h" | 34 #include "content/child/npobject_util.h" |
34 #include "content/child/plugin_messages.h" | 35 #include "content/child/plugin_messages.h" |
35 #include "content/child/resource_dispatcher.h" | 36 #include "content/child/resource_dispatcher.h" |
36 #include "content/child/runtime_features.h" | 37 #include "content/child/runtime_features.h" |
37 #include "content/child/thread_safe_sender.h" | 38 #include "content/child/thread_safe_sender.h" |
38 #include "content/child/web_database_observer_impl.h" | 39 #include "content/child/web_database_observer_impl.h" |
| 40 #include "content/common/child_process_messages.h" |
39 #include "content/common/content_constants_internal.h" | 41 #include "content/common/content_constants_internal.h" |
40 #include "content/common/child_process_messages.h" | |
41 #include "content/common/database_messages.h" | 42 #include "content/common/database_messages.h" |
42 #include "content/common/db_message_filter.h" | |
43 #include "content/common/dom_storage_messages.h" | 43 #include "content/common/dom_storage_messages.h" |
44 #include "content/common/gpu/client/context_provider_command_buffer.h" | 44 #include "content/common/gpu/client/context_provider_command_buffer.h" |
45 #include "content/common/gpu/client/gpu_channel_host.h" | 45 #include "content/common/gpu/client/gpu_channel_host.h" |
46 #include "content/common/gpu/gpu_messages.h" | 46 #include "content/common/gpu/gpu_messages.h" |
47 #include "content/common/resource_messages.h" | 47 #include "content/common/resource_messages.h" |
48 #include "content/common/view_messages.h" | 48 #include "content/common/view_messages.h" |
49 #include "content/public/common/content_constants.h" | 49 #include "content/public/common/content_constants.h" |
50 #include "content/public/common/content_paths.h" | 50 #include "content/public/common/content_paths.h" |
51 #include "content/public/common/content_switches.h" | 51 #include "content/public/common/content_switches.h" |
52 #include "content/public/common/renderer_preferences.h" | 52 #include "content/public/common/renderer_preferences.h" |
(...skipping 28 matching lines...) Expand all Loading... |
81 #include "content/renderer/renderer_webkitplatformsupport_impl.h" | 81 #include "content/renderer/renderer_webkitplatformsupport_impl.h" |
82 #include "content/renderer/skia_benchmarking_extension.h" | 82 #include "content/renderer/skia_benchmarking_extension.h" |
83 #include "grit/content_resources.h" | 83 #include "grit/content_resources.h" |
84 #include "ipc/ipc_channel_handle.h" | 84 #include "ipc/ipc_channel_handle.h" |
85 #include "ipc/ipc_forwarding_message_filter.h" | 85 #include "ipc/ipc_forwarding_message_filter.h" |
86 #include "ipc/ipc_platform_file.h" | 86 #include "ipc/ipc_platform_file.h" |
87 #include "media/base/audio_hardware_config.h" | 87 #include "media/base/audio_hardware_config.h" |
88 #include "media/base/media.h" | 88 #include "media/base/media.h" |
89 #include "net/base/net_errors.h" | 89 #include "net/base/net_errors.h" |
90 #include "net/base/net_util.h" | 90 #include "net/base/net_util.h" |
| 91 #include "third_party/WebKit/public/platform/WebString.h" |
91 #include "third_party/WebKit/public/web/WebColorName.h" | 92 #include "third_party/WebKit/public/web/WebColorName.h" |
92 #include "third_party/WebKit/public/web/WebDatabase.h" | 93 #include "third_party/WebKit/public/web/WebDatabase.h" |
93 #include "third_party/WebKit/public/web/WebDocument.h" | 94 #include "third_party/WebKit/public/web/WebDocument.h" |
94 #include "third_party/WebKit/public/web/WebFrame.h" | 95 #include "third_party/WebKit/public/web/WebFrame.h" |
95 #include "third_party/WebKit/public/web/WebKit.h" | 96 #include "third_party/WebKit/public/web/WebKit.h" |
96 #include "third_party/WebKit/public/web/WebNetworkStateNotifier.h" | 97 #include "third_party/WebKit/public/web/WebNetworkStateNotifier.h" |
97 #include "third_party/WebKit/public/web/WebPopupMenu.h" | 98 #include "third_party/WebKit/public/web/WebPopupMenu.h" |
98 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" | 99 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" |
99 #include "third_party/WebKit/public/web/WebScriptController.h" | 100 #include "third_party/WebKit/public/web/WebScriptController.h" |
100 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" | 101 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" |
101 #include "third_party/WebKit/public/web/WebSharedWorkerRepository.h" | 102 #include "third_party/WebKit/public/web/WebSharedWorkerRepository.h" |
102 #include "third_party/WebKit/public/web/WebView.h" | 103 #include "third_party/WebKit/public/web/WebView.h" |
103 #include "third_party/WebKit/public/platform/WebString.h" | |
104 #include "ui/base/layout.h" | 104 #include "ui/base/layout.h" |
105 #include "ui/base/ui_base_switches.h" | 105 #include "ui/base/ui_base_switches.h" |
106 #include "v8/include/v8.h" | 106 #include "v8/include/v8.h" |
| 107 #include "webkit/child/worker_task_runner.h" |
107 #include "webkit/glue/webkit_glue.h" | 108 #include "webkit/glue/webkit_glue.h" |
108 #include "webkit/child/worker_task_runner.h" | |
109 #include "webkit/renderer/appcache/appcache_frontend_impl.h" | 109 #include "webkit/renderer/appcache/appcache_frontend_impl.h" |
110 #include "webkit/renderer/compositor_bindings/web_external_bitmap_impl.h" | 110 #include "webkit/renderer/compositor_bindings/web_external_bitmap_impl.h" |
111 | 111 |
112 #if defined(OS_WIN) | 112 #if defined(OS_WIN) |
113 #include <windows.h> | 113 #include <windows.h> |
114 #include <objbase.h> | 114 #include <objbase.h> |
115 #include "base/win/scoped_com_initializer.h" | 115 #include "base/win/scoped_com_initializer.h" |
116 #else | 116 #else |
117 // TODO(port) | 117 // TODO(port) |
118 #include "base/memory/scoped_handle.h" | 118 #include "base/memory/scoped_handle.h" |
(...skipping 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1300 | 1300 |
1301 void RenderThreadImpl::SetFlingCurveParameters( | 1301 void RenderThreadImpl::SetFlingCurveParameters( |
1302 const std::vector<float>& new_touchpad, | 1302 const std::vector<float>& new_touchpad, |
1303 const std::vector<float>& new_touchscreen) { | 1303 const std::vector<float>& new_touchscreen) { |
1304 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, | 1304 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, |
1305 new_touchscreen); | 1305 new_touchscreen); |
1306 | 1306 |
1307 } | 1307 } |
1308 | 1308 |
1309 } // namespace content | 1309 } // namespace content |
OLD | NEW |