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 13 matching lines...) Expand all Loading... |
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/db_message_filter.h" |
32 #include "content/child/indexed_db/indexed_db_dispatcher.h" | 32 #include "content/child/indexed_db/indexed_db_dispatcher.h" |
33 #include "content/child/indexed_db/indexed_db_message_filter.h" | 33 #include "content/child/indexed_db/indexed_db_message_filter.h" |
34 #include "content/child/npobject_util.h" | 34 #include "content/child/npapi/npobject_util.h" |
35 #include "content/child/plugin_messages.h" | 35 #include "content/child/plugin_messages.h" |
36 #include "content/child/resource_dispatcher.h" | 36 #include "content/child/resource_dispatcher.h" |
37 #include "content/child/runtime_features.h" | 37 #include "content/child/runtime_features.h" |
38 #include "content/child/thread_safe_sender.h" | 38 #include "content/child/thread_safe_sender.h" |
39 #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" | 40 #include "content/common/child_process_messages.h" |
41 #include "content/common/content_constants_internal.h" | 41 #include "content/common/content_constants_internal.h" |
42 #include "content/common/database_messages.h" | 42 #include "content/common/database_messages.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" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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" |
119 #include "content/child/np_channel_base.h" | 119 #include "content/child/npapi/np_channel_base.h" |
120 #endif | 120 #endif |
121 | 121 |
122 #if defined(OS_POSIX) | 122 #if defined(OS_POSIX) |
123 #include "ipc/ipc_channel_posix.h" | 123 #include "ipc/ipc_channel_posix.h" |
124 #endif | 124 #endif |
125 | 125 |
126 #if defined(OS_ANDROID) | 126 #if defined(OS_ANDROID) |
127 #include <cpu-features.h> | 127 #include <cpu-features.h> |
128 #include "content/renderer/android/synchronous_compositor_factory.h" | 128 #include "content/renderer/android/synchronous_compositor_factory.h" |
129 #endif | 129 #endif |
(...skipping 1172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1302 | 1302 |
1303 void RenderThreadImpl::SetFlingCurveParameters( | 1303 void RenderThreadImpl::SetFlingCurveParameters( |
1304 const std::vector<float>& new_touchpad, | 1304 const std::vector<float>& new_touchpad, |
1305 const std::vector<float>& new_touchscreen) { | 1305 const std::vector<float>& new_touchscreen) { |
1306 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, | 1306 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, |
1307 new_touchscreen); | 1307 new_touchscreen); |
1308 | 1308 |
1309 } | 1309 } |
1310 | 1310 |
1311 } // namespace content | 1311 } // namespace content |
OLD | NEW |