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 17 matching lines...) Expand all Loading... |
28 #include "content/common/child_histogram_message_filter.h" | 28 #include "content/common/child_histogram_message_filter.h" |
29 #include "content/common/child_process_messages.h" | 29 #include "content/common/child_process_messages.h" |
30 #include "content/common/database_messages.h" | 30 #include "content/common/database_messages.h" |
31 #include "content/common/db_message_filter.h" | 31 #include "content/common/db_message_filter.h" |
32 #include "content/common/dom_storage_messages.h" | 32 #include "content/common/dom_storage_messages.h" |
33 #include "content/common/gpu/client/context_provider_command_buffer.h" | 33 #include "content/common/gpu/client/context_provider_command_buffer.h" |
34 #include "content/common/gpu/client/gpu_channel_host.h" | 34 #include "content/common/gpu/client/gpu_channel_host.h" |
35 #include "content/common/gpu/gpu_messages.h" | 35 #include "content/common/gpu/gpu_messages.h" |
36 #include "content/common/indexed_db/indexed_db_dispatcher.h" | 36 #include "content/common/indexed_db/indexed_db_dispatcher.h" |
37 #include "content/common/indexed_db/indexed_db_message_filter.h" | 37 #include "content/common/indexed_db/indexed_db_message_filter.h" |
38 #include "content/common/npobject_util.h" | |
39 #include "content/common/plugin_messages.h" | |
40 #include "content/common/resource_dispatcher.h" | 38 #include "content/common/resource_dispatcher.h" |
41 #include "content/common/resource_messages.h" | 39 #include "content/common/resource_messages.h" |
42 #include "content/common/view_messages.h" | 40 #include "content/common/view_messages.h" |
43 #include "content/common/web_database_observer_impl.h" | 41 #include "content/common/web_database_observer_impl.h" |
| 42 #include "content/common_child/npobject_util.h" |
| 43 #include "content/common_child/plugin_messages.h" |
44 #include "content/public/common/content_constants.h" | 44 #include "content/public/common/content_constants.h" |
45 #include "content/public/common/content_paths.h" | 45 #include "content/public/common/content_paths.h" |
46 #include "content/public/common/content_switches.h" | 46 #include "content/public/common/content_switches.h" |
47 #include "content/public/common/renderer_preferences.h" | 47 #include "content/public/common/renderer_preferences.h" |
48 #include "content/public/common/url_constants.h" | 48 #include "content/public/common/url_constants.h" |
49 #include "content/public/renderer/content_renderer_client.h" | 49 #include "content/public/renderer/content_renderer_client.h" |
50 #include "content/public/renderer/render_process_observer.h" | 50 #include "content/public/renderer/render_process_observer.h" |
51 #include "content/public/renderer/render_view_visitor.h" | 51 #include "content/public/renderer/render_view_visitor.h" |
52 #include "content/renderer/devtools/devtools_agent_filter.h" | 52 #include "content/renderer/devtools/devtools_agent_filter.h" |
53 #include "content/renderer/dom_storage/dom_storage_dispatcher.h" | 53 #include "content/renderer/dom_storage/dom_storage_dispatcher.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 #include "v8/include/v8.h" | 99 #include "v8/include/v8.h" |
100 #include "webkit/glue/webkit_glue.h" | 100 #include "webkit/glue/webkit_glue.h" |
101 | 101 |
102 #if defined(OS_WIN) | 102 #if defined(OS_WIN) |
103 #include <windows.h> | 103 #include <windows.h> |
104 #include <objbase.h> | 104 #include <objbase.h> |
105 #include "base/win/scoped_com_initializer.h" | 105 #include "base/win/scoped_com_initializer.h" |
106 #else | 106 #else |
107 // TODO(port) | 107 // TODO(port) |
108 #include "base/memory/scoped_handle.h" | 108 #include "base/memory/scoped_handle.h" |
109 #include "content/common/np_channel_base.h" | 109 #include "content/common_child/np_channel_base.h" |
110 #endif | 110 #endif |
111 | 111 |
112 #if defined(OS_POSIX) | 112 #if defined(OS_POSIX) |
113 #include "ipc/ipc_channel_posix.h" | 113 #include "ipc/ipc_channel_posix.h" |
114 #endif | 114 #endif |
115 | 115 |
116 #if defined(ENABLE_WEBRTC) | 116 #if defined(ENABLE_WEBRTC) |
117 #include "third_party/webrtc/system_wrappers/interface/event_tracer.h" | 117 #include "third_party/webrtc/system_wrappers/interface/event_tracer.h" |
118 #endif | 118 #endif |
119 | 119 |
(...skipping 1197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1317 | 1317 |
1318 void RenderThreadImpl::SetFlingCurveParameters( | 1318 void RenderThreadImpl::SetFlingCurveParameters( |
1319 const std::vector<float>& new_touchpad, | 1319 const std::vector<float>& new_touchpad, |
1320 const std::vector<float>& new_touchscreen) { | 1320 const std::vector<float>& new_touchscreen) { |
1321 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, | 1321 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, |
1322 new_touchscreen); | 1322 new_touchscreen); |
1323 | 1323 |
1324 } | 1324 } |
1325 | 1325 |
1326 } // namespace content | 1326 } // namespace content |
OLD | NEW |