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 22 matching lines...) Expand all Loading... |
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/npapi/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/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" |
53 #include "content/public/common/url_constants.h" | 53 #include "content/public/common/url_constants.h" |
(...skipping 1250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1304 | 1304 |
1305 } | 1305 } |
1306 | 1306 |
1307 void RenderThreadImpl::SampleGamepads(WebKit::WebGamepads* data) { | 1307 void RenderThreadImpl::SampleGamepads(WebKit::WebGamepads* data) { |
1308 if (!gamepad_shared_memory_reader_) | 1308 if (!gamepad_shared_memory_reader_) |
1309 gamepad_shared_memory_reader_.reset(new GamepadSharedMemoryReader); | 1309 gamepad_shared_memory_reader_.reset(new GamepadSharedMemoryReader); |
1310 gamepad_shared_memory_reader_->SampleGamepads(*data); | 1310 gamepad_shared_memory_reader_->SampleGamepads(*data); |
1311 } | 1311 } |
1312 | 1312 |
1313 } // namespace content | 1313 } // namespace content |
OLD | NEW |