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

Side by Side Diff: content/child/npapi/npobject_util.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
« no previous file with comments | « content/child/npapi/npobject_stub.cc ('k') | content/child/npapi/npruntime_util.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/child/npapi/npobject_util.h" 5 #include "content/child/npapi/npobject_util.h"
6 6
7 #include "base/strings/string_util.h" 7 #include "base/strings/string_util.h"
8 #include "content/child/npapi/np_channel_base.h" 8 #include "content/child/npapi/np_channel_base.h"
9 #include "content/child/npapi/npobject_proxy.h" 9 #include "content/child/npapi/npobject_proxy.h"
10 #include "content/child/npapi/plugin_host.h" 10 #include "content/child/npapi/plugin_host.h"
11 #include "content/child/plugin_messages.h" 11 #include "content/child/plugin_messages.h"
12 #include "third_party/WebKit/public/web/WebBindings.h" 12 #include "third_party/WebKit/public/web/WebBindings.h"
13 #include "third_party/npapi/bindings/nphostapi.h" 13 #include "third_party/npapi/bindings/nphostapi.h"
14 #include "webkit/glue/webkit_glue.h" 14 #include "webkit/glue/webkit_glue.h"
15 15
16 using WebKit::WebBindings; 16 using blink::WebBindings;
17 17
18 namespace content { 18 namespace content {
19 19
20 // true if the current process is a plugin process, false otherwise. 20 // true if the current process is a plugin process, false otherwise.
21 static bool g_plugin_process; 21 static bool g_plugin_process;
22 22
23 namespace { 23 namespace {
24 // The next 7 functions are called by the plugin code when it's using the 24 // The next 7 functions are called by the plugin code when it's using the
25 // NPObject. Plugins always ignore the functions in NPClass (except allocate 25 // NPObject. Plugins always ignore the functions in NPClass (except allocate
26 // and deallocate), and instead just use the function pointers that were 26 // and deallocate), and instead just use the function pointers that were
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 WebBindings::retainObject(result->value.objectValue); 293 WebBindings::retainObject(result->value.objectValue);
294 break; 294 break;
295 } 295 }
296 default: 296 default:
297 NOTREACHED(); 297 NOTREACHED();
298 } 298 }
299 return true; 299 return true;
300 } 300 }
301 301
302 } // namespace content 302 } // namespace content
OLDNEW
« no previous file with comments | « content/child/npapi/npobject_stub.cc ('k') | content/child/npapi/npruntime_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698