| 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 14 matching lines...) Expand all Loading... |
| 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/appcache_dispatcher.h" | 29 #include "content/child/appcache/appcache_dispatcher.h" |
| 30 #include "content/child/appcache/appcache_frontend_impl.h" | 30 #include "content/child/appcache/appcache_frontend_impl.h" |
| 31 #include "content/child/child_histogram_message_filter.h" | 31 #include "content/child/child_histogram_message_filter.h" |
| 32 #include "content/child/db_message_filter.h" | 32 #include "content/child/db_message_filter.h" |
| 33 #include "content/child/indexed_db/indexed_db_dispatcher.h" | 33 #include "content/child/indexed_db/indexed_db_dispatcher.h" |
| 34 #include "content/child/indexed_db/indexed_db_message_filter.h" | 34 #include "content/child/indexed_db/indexed_db_message_filter.h" |
| 35 #include "content/child/service_worker/service_worker_message_filter.h" |
| 35 #include "content/child/npapi/npobject_util.h" | 36 #include "content/child/npapi/npobject_util.h" |
| 36 #include "content/child/plugin_messages.h" | 37 #include "content/child/plugin_messages.h" |
| 37 #include "content/child/resource_dispatcher.h" | 38 #include "content/child/resource_dispatcher.h" |
| 38 #include "content/child/runtime_features.h" | 39 #include "content/child/runtime_features.h" |
| 39 #include "content/child/thread_safe_sender.h" | 40 #include "content/child/thread_safe_sender.h" |
| 40 #include "content/child/web_database_observer_impl.h" | 41 #include "content/child/web_database_observer_impl.h" |
| 41 #include "content/common/child_process_messages.h" | 42 #include "content/common/child_process_messages.h" |
| 42 #include "content/common/content_constants_internal.h" | 43 #include "content/common/content_constants_internal.h" |
| 43 #include "content/common/database_messages.h" | 44 #include "content/common/database_messages.h" |
| 44 #include "content/common/dom_storage/dom_storage_messages.h" | 45 #include "content/common/dom_storage/dom_storage_messages.h" |
| (...skipping 1266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1311 | 1312 |
| 1312 } | 1313 } |
| 1313 | 1314 |
| 1314 void RenderThreadImpl::SampleGamepads(WebKit::WebGamepads* data) { | 1315 void RenderThreadImpl::SampleGamepads(WebKit::WebGamepads* data) { |
| 1315 if (!gamepad_shared_memory_reader_) | 1316 if (!gamepad_shared_memory_reader_) |
| 1316 gamepad_shared_memory_reader_.reset(new GamepadSharedMemoryReader); | 1317 gamepad_shared_memory_reader_.reset(new GamepadSharedMemoryReader); |
| 1317 gamepad_shared_memory_reader_->SampleGamepads(*data); | 1318 gamepad_shared_memory_reader_->SampleGamepads(*data); |
| 1318 } | 1319 } |
| 1319 | 1320 |
| 1320 } // namespace content | 1321 } // namespace content |
| OLD | NEW |