| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/glue/plugins/pepper_plugin_object.h" | 5 #include "webkit/glue/plugins/pepper_plugin_object.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
| 9 #include "base/string_number_conversions.h" | 9 #include "base/string_number_conversions.h" |
| 10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
| 11 #include "third_party/npapi/bindings/npapi.h" | 11 #include "third_party/npapi/bindings/npapi.h" |
| 12 #include "third_party/npapi/bindings/npruntime.h" | 12 #include "third_party/npapi/bindings/npruntime.h" |
| 13 #include "third_party/ppapi/c/dev/ppb_var_deprecated.h" | 13 #include "ppapi/c/dev/ppb_var_deprecated.h" |
| 14 #include "third_party/ppapi/c/dev/ppp_class_deprecated.h" | 14 #include "ppapi/c/dev/ppp_class_deprecated.h" |
| 15 #include "third_party/ppapi/c/pp_var.h" | 15 #include "ppapi/c/pp_var.h" |
| 16 #include "third_party/WebKit/WebKit/chromium/public/WebBindings.h" | 16 #include "third_party/WebKit/WebKit/chromium/public/WebBindings.h" |
| 17 #include "webkit/glue/plugins/pepper_plugin_module.h" | 17 #include "webkit/glue/plugins/pepper_plugin_module.h" |
| 18 #include "webkit/glue/plugins/pepper_string.h" | 18 #include "webkit/glue/plugins/pepper_string.h" |
| 19 #include "webkit/glue/plugins/pepper_var.h" | 19 #include "webkit/glue/plugins/pepper_var.h" |
| 20 | 20 |
| 21 using WebKit::WebBindings; | 21 using WebKit::WebBindings; |
| 22 | 22 |
| 23 namespace pepper { | 23 namespace pepper { |
| 24 | 24 |
| 25 namespace { | 25 namespace { |
| (...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 592 } | 592 } |
| 593 | 593 |
| 594 // static | 594 // static |
| 595 NPObject* PluginObject::AllocateObjectWrapper() { | 595 NPObject* PluginObject::AllocateObjectWrapper() { |
| 596 NPObjectWrapper* wrapper = new NPObjectWrapper; | 596 NPObjectWrapper* wrapper = new NPObjectWrapper; |
| 597 memset(wrapper, 0, sizeof(NPObjectWrapper)); | 597 memset(wrapper, 0, sizeof(NPObjectWrapper)); |
| 598 return wrapper; | 598 return wrapper; |
| 599 } | 599 } |
| 600 | 600 |
| 601 } // namespace pepper | 601 } // namespace pepper |
| OLD | NEW |