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

Side by Side Diff: content/renderer/pepper/plugin_object.cc

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/pepper/plugin_object.h" 5 #include "content/renderer/pepper/plugin_object.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "content/renderer/pepper/npapi_glue.h" 12 #include "content/renderer/pepper/npapi_glue.h"
13 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" 13 #include "content/renderer/pepper/pepper_plugin_instance_impl.h"
14 #include "content/renderer/pepper/plugin_module.h" 14 #include "content/renderer/pepper/plugin_module.h"
15 #include "ppapi/c/dev/ppb_var_deprecated.h" 15 #include "ppapi/c/dev/ppb_var_deprecated.h"
16 #include "ppapi/c/dev/ppp_class_deprecated.h" 16 #include "ppapi/c/dev/ppp_class_deprecated.h"
17 #include "ppapi/c/pp_resource.h" 17 #include "ppapi/c/pp_resource.h"
18 #include "ppapi/c/pp_var.h" 18 #include "ppapi/c/pp_var.h"
19 #include "ppapi/shared_impl/ppapi_globals.h" 19 #include "ppapi/shared_impl/ppapi_globals.h"
20 #include "ppapi/shared_impl/resource_tracker.h" 20 #include "ppapi/shared_impl/resource_tracker.h"
21 #include "ppapi/shared_impl/var.h" 21 #include "ppapi/shared_impl/var.h"
22 #include "ppapi/shared_impl/var_tracker.h" 22 #include "ppapi/shared_impl/var_tracker.h"
23 #include "third_party/WebKit/public/web/WebBindings.h" 23 #include "third_party/WebKit/public/web/WebBindings.h"
24 #include "third_party/npapi/bindings/npapi.h" 24 #include "third_party/npapi/bindings/npapi.h"
25 #include "third_party/npapi/bindings/npruntime.h" 25 #include "third_party/npapi/bindings/npruntime.h"
26 26
27 using ppapi::PpapiGlobals; 27 using ppapi::PpapiGlobals;
28 using ppapi::StringVar; 28 using ppapi::StringVar;
29 using ppapi::Var; 29 using ppapi::Var;
30 using WebKit::WebBindings; 30 using blink::WebBindings;
31 31
32 namespace content { 32 namespace content {
33 33
34 namespace { 34 namespace {
35 35
36 const char kInvalidValueException[] = "Error: Invalid value"; 36 const char kInvalidValueException[] = "Error: Invalid value";
37 37
38 // NPObject implementation in terms of PPP_Class_Deprecated -------------------- 38 // NPObject implementation in terms of PPP_Class_Deprecated --------------------
39 39
40 NPObject* WrapperClass_Allocate(NPP npp, NPClass* unused) { 40 NPObject* WrapperClass_Allocate(NPP npp, NPClass* unused) {
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 347
348 // static 348 // static
349 NPObject* PluginObject::AllocateObjectWrapper() { 349 NPObject* PluginObject::AllocateObjectWrapper() {
350 NPObjectWrapper* wrapper = new NPObjectWrapper; 350 NPObjectWrapper* wrapper = new NPObjectWrapper;
351 memset(wrapper, 0, sizeof(NPObjectWrapper)); 351 memset(wrapper, 0, sizeof(NPObjectWrapper));
352 return wrapper; 352 return wrapper;
353 } 353 }
354 354
355 } // namespace content 355 } // namespace content
356 356
OLDNEW
« no previous file with comments | « content/renderer/pepper/plugin_module.cc ('k') | content/renderer/pepper/ppb_graphics_3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698