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> |
11 | 11 |
12 #include "base/allocator/allocator_extension.h" | 12 #include "base/allocator/allocator_extension.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/debug/trace_event.h" | 14 #include "base/debug/trace_event.h" |
15 #include "base/lazy_instance.h" | 15 #include "base/lazy_instance.h" |
16 #include "base/logging.h" | 16 #include "base/logging.h" |
17 #include "base/metrics/field_trial.h" | 17 #include "base/metrics/field_trial.h" |
18 #include "base/metrics/histogram.h" | 18 #include "base/metrics/histogram.h" |
19 #include "base/metrics/stats_table.h" | 19 #include "base/metrics/stats_table.h" |
20 #include "base/path_service.h" | 20 #include "base/path_service.h" |
21 #include "base/shared_memory.h" | 21 #include "base/shared_memory.h" |
22 #include "base/string16.h" | 22 #include "base/string16.h" |
23 #include "base/string_number_conversions.h" // Temporary | 23 #include "base/string_number_conversions.h" // Temporary |
24 #include "base/threading/thread_local.h" | 24 #include "base/threading/thread_local.h" |
25 #include "base/threading/thread_restrictions.h" | 25 #include "base/threading/thread_restrictions.h" |
26 #include "base/utf_string_conversions.h" | 26 #include "base/utf_string_conversions.h" |
27 #include "base/values.h" | 27 #include "base/values.h" |
| 28 #include "content/child/child_histogram_message_filter.h" |
28 #include "content/child/indexed_db/indexed_db_dispatcher.h" | 29 #include "content/child/indexed_db/indexed_db_dispatcher.h" |
29 #include "content/child/indexed_db/indexed_db_message_filter.h" | 30 #include "content/child/indexed_db/indexed_db_message_filter.h" |
30 #include "content/child/npobject_util.h" | 31 #include "content/child/npobject_util.h" |
31 #include "content/child/plugin_messages.h" | 32 #include "content/child/plugin_messages.h" |
| 33 #include "content/child/resource_dispatcher.h" |
32 #include "content/child/web_database_observer_impl.h" | 34 #include "content/child/web_database_observer_impl.h" |
33 #include "content/common/appcache/appcache_dispatcher.h" | 35 #include "content/common/appcache/appcache_dispatcher.h" |
34 #include "content/common/child_histogram_message_filter.h" | |
35 #include "content/common/child_process_messages.h" | 36 #include "content/common/child_process_messages.h" |
36 #include "content/common/database_messages.h" | 37 #include "content/common/database_messages.h" |
37 #include "content/common/db_message_filter.h" | 38 #include "content/common/db_message_filter.h" |
38 #include "content/common/dom_storage_messages.h" | 39 #include "content/common/dom_storage_messages.h" |
39 #include "content/common/gpu/client/context_provider_command_buffer.h" | 40 #include "content/common/gpu/client/context_provider_command_buffer.h" |
40 #include "content/common/gpu/client/gpu_channel_host.h" | 41 #include "content/common/gpu/client/gpu_channel_host.h" |
41 #include "content/common/gpu/gpu_messages.h" | 42 #include "content/common/gpu/gpu_messages.h" |
42 #include "content/common/resource_dispatcher.h" | |
43 #include "content/common/resource_messages.h" | 43 #include "content/common/resource_messages.h" |
44 #include "content/common/view_messages.h" | 44 #include "content/common/view_messages.h" |
45 #include "content/public/common/content_constants.h" | 45 #include "content/public/common/content_constants.h" |
46 #include "content/public/common/content_paths.h" | 46 #include "content/public/common/content_paths.h" |
47 #include "content/public/common/content_switches.h" | 47 #include "content/public/common/content_switches.h" |
48 #include "content/public/common/renderer_preferences.h" | 48 #include "content/public/common/renderer_preferences.h" |
49 #include "content/public/common/url_constants.h" | 49 #include "content/public/common/url_constants.h" |
50 #include "content/public/renderer/content_renderer_client.h" | 50 #include "content/public/renderer/content_renderer_client.h" |
51 #include "content/public/renderer/render_process_observer.h" | 51 #include "content/public/renderer/render_process_observer.h" |
52 #include "content/public/renderer/render_view_visitor.h" | 52 #include "content/public/renderer/render_view_visitor.h" |
(...skipping 1296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1349 | 1349 |
1350 void RenderThreadImpl::SetFlingCurveParameters( | 1350 void RenderThreadImpl::SetFlingCurveParameters( |
1351 const std::vector<float>& new_touchpad, | 1351 const std::vector<float>& new_touchpad, |
1352 const std::vector<float>& new_touchscreen) { | 1352 const std::vector<float>& new_touchscreen) { |
1353 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, | 1353 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, |
1354 new_touchscreen); | 1354 new_touchscreen); |
1355 | 1355 |
1356 } | 1356 } |
1357 | 1357 |
1358 } // namespace content | 1358 } // namespace content |
OLD | NEW |