| 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 "webkit/plugins/ppapi/host_globals.h" | 5 #include "content/renderer/pepper/host_globals.h" |
| 6 | 6 |
| 7 #include <limits> | 7 #include <limits> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/rand_util.h" | 11 #include "base/rand_util.h" |
| 12 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
| 13 #include "base/task_runner.h" | 13 #include "base/task_runner.h" |
| 14 #include "content/renderer/pepper/plugin_module.h" |
| 15 #include "content/renderer/pepper/ppapi_plugin_instance_impl.h" |
| 14 #include "ppapi/shared_impl/api_id.h" | 16 #include "ppapi/shared_impl/api_id.h" |
| 15 #include "ppapi/shared_impl/id_assignment.h" | 17 #include "ppapi/shared_impl/id_assignment.h" |
| 16 #include "third_party/WebKit/public/platform/WebString.h" | 18 #include "third_party/WebKit/public/platform/WebString.h" |
| 17 #include "third_party/WebKit/public/web/WebConsoleMessage.h" | 19 #include "third_party/WebKit/public/web/WebConsoleMessage.h" |
| 18 #include "third_party/WebKit/public/web/WebDocument.h" | 20 #include "third_party/WebKit/public/web/WebDocument.h" |
| 19 #include "third_party/WebKit/public/web/WebElement.h" | 21 #include "third_party/WebKit/public/web/WebElement.h" |
| 20 #include "third_party/WebKit/public/web/WebFrame.h" | 22 #include "third_party/WebKit/public/web/WebFrame.h" |
| 21 #include "third_party/WebKit/public/web/WebPluginContainer.h" | 23 #include "third_party/WebKit/public/web/WebPluginContainer.h" |
| 22 #include "webkit/plugins/plugin_switches.h" | 24 #include "webkit/plugins/plugin_switches.h" |
| 23 #include "webkit/plugins/ppapi/plugin_module.h" | |
| 24 #include "webkit/plugins/ppapi/ppapi_plugin_instance_impl.h" | |
| 25 | 25 |
| 26 using ppapi::CheckIdType; | 26 using ppapi::CheckIdType; |
| 27 using ppapi::MakeTypedId; | 27 using ppapi::MakeTypedId; |
| 28 using ppapi::PPIdType; | 28 using ppapi::PPIdType; |
| 29 using ppapi::ResourceTracker; | 29 using ppapi::ResourceTracker; |
| 30 using WebKit::WebConsoleMessage; | 30 using WebKit::WebConsoleMessage; |
| 31 using WebKit::WebString; | 31 using WebKit::WebString; |
| 32 | 32 |
| 33 namespace webkit { | 33 namespace webkit { |
| 34 namespace ppapi { | 34 namespace ppapi { |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 return NULL; | 276 return NULL; |
| 277 return found->second; | 277 return found->second; |
| 278 } | 278 } |
| 279 | 279 |
| 280 bool HostGlobals::IsHostGlobals() const { | 280 bool HostGlobals::IsHostGlobals() const { |
| 281 return true; | 281 return true; |
| 282 } | 282 } |
| 283 | 283 |
| 284 } // namespace ppapi | 284 } // namespace ppapi |
| 285 } // namespace webkit | 285 } // namespace webkit |
| OLD | NEW |