Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Side by Side Diff: webkit/plugins/ppapi/plugin_object.cc

Issue 6673098: Remove PPB_Var interface's scripting functionality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing convert. Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/plugins/ppapi/plugin_module.cc ('k') | webkit/plugins/ppapi/var.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/plugins/ppapi/plugin_object.h" 5 #include "webkit/plugins/ppapi/plugin_object.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/ref_counted.h" 8 #include "base/ref_counted.h"
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "base/string_number_conversions.h" 10 #include "base/string_number_conversions.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "third_party/npapi/bindings/npapi.h" 12 #include "third_party/npapi/bindings/npapi.h"
13 #include "third_party/npapi/bindings/npruntime.h" 13 #include "third_party/npapi/bindings/npruntime.h"
14 #include "ppapi/c/dev/ppb_var_deprecated.h" 14 #include "ppapi/c/dev/ppb_var_deprecated.h"
15 #include "ppapi/c/dev/ppp_class_deprecated.h" 15 #include "ppapi/c/dev/ppp_class_deprecated.h"
16 #include "ppapi/c/pp_resource.h" 16 #include "ppapi/c/pp_resource.h"
17 #include "ppapi/c/pp_var.h" 17 #include "ppapi/c/pp_var.h"
18 #include "ppapi/c/ppb_class.h"
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h"
20 #include "webkit/plugins/ppapi/npapi_glue.h" 19 #include "webkit/plugins/ppapi/npapi_glue.h"
21 #include "webkit/plugins/ppapi/plugin_module.h" 20 #include "webkit/plugins/ppapi/plugin_module.h"
22 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" 21 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
23 #include "webkit/plugins/ppapi/resource.h" 22 #include "webkit/plugins/ppapi/resource.h"
24 #include "webkit/plugins/ppapi/string.h" 23 #include "webkit/plugins/ppapi/string.h"
25 #include "webkit/plugins/ppapi/var.h" 24 #include "webkit/plugins/ppapi/var.h"
26 #include "webkit/plugins/ppapi/var_object_class.h"
27 25
28 using WebKit::WebBindings; 26 using WebKit::WebBindings;
29 27
30 namespace webkit { 28 namespace webkit {
31 namespace ppapi { 29 namespace ppapi {
32 30
33 namespace { 31 namespace {
34 32
35 const char kInvalidValueException[] = "Error: Invalid value"; 33 const char kInvalidValueException[] = "Error: Invalid value";
36 34
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 // static 325 // static
328 NPObject* PluginObject::AllocateObjectWrapper() { 326 NPObject* PluginObject::AllocateObjectWrapper() {
329 NPObjectWrapper* wrapper = new NPObjectWrapper; 327 NPObjectWrapper* wrapper = new NPObjectWrapper;
330 memset(wrapper, 0, sizeof(NPObjectWrapper)); 328 memset(wrapper, 0, sizeof(NPObjectWrapper));
331 return wrapper; 329 return wrapper;
332 } 330 }
333 331
334 } // namespace ppapi 332 } // namespace ppapi
335 } // namespace webkit 333 } // namespace webkit
336 334
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/plugin_module.cc ('k') | webkit/plugins/ppapi/var.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698