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

Side by Side Diff: content/renderer/pepper/plugin_module.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/renderer/pepper/plugin_module.h ('k') | content/renderer/pepper/plugin_object.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) 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 "content/renderer/pepper/plugin_module.h" 5 #include "content/renderer/pepper/plugin_module.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 return &core_interface; 546 return &core_interface;
547 } 547 }
548 548
549 // static 549 // static
550 bool PluginModule::SupportsInterface(const char* name) { 550 bool PluginModule::SupportsInterface(const char* name) {
551 return !!InternalGetInterface(name); 551 return !!InternalGetInterface(name);
552 } 552 }
553 553
554 PepperPluginInstanceImpl* PluginModule::CreateInstance( 554 PepperPluginInstanceImpl* PluginModule::CreateInstance(
555 RenderViewImpl* render_view, 555 RenderViewImpl* render_view,
556 WebKit::WebPluginContainer* container, 556 blink::WebPluginContainer* container,
557 const GURL& plugin_url) { 557 const GURL& plugin_url) {
558 PepperPluginInstanceImpl* instance = PepperPluginInstanceImpl::Create( 558 PepperPluginInstanceImpl* instance = PepperPluginInstanceImpl::Create(
559 render_view, this, container, plugin_url); 559 render_view, this, container, plugin_url);
560 if (!instance) { 560 if (!instance) {
561 LOG(WARNING) << "Plugin doesn't support instance interface, failing."; 561 LOG(WARNING) << "Plugin doesn't support instance interface, failing.";
562 return NULL; 562 return NULL;
563 } 563 }
564 if (host_dispatcher_wrapper_) 564 if (host_dispatcher_wrapper_)
565 host_dispatcher_wrapper_->AddInstance(instance->pp_instance()); 565 host_dispatcher_wrapper_->AddInstance(instance->pp_instance());
566 return instance; 566 return instance;
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 channel_handle, 738 channel_handle,
739 peer_pid, 739 peer_pid,
740 plugin_child_id, 740 plugin_child_id,
741 false)) // is_external = false 741 false)) // is_external = false
742 return scoped_refptr<PluginModule>(); 742 return scoped_refptr<PluginModule>();
743 743
744 return module; 744 return module;
745 } 745 }
746 746
747 } // namespace content 747 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/plugin_module.h ('k') | content/renderer/pepper/plugin_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698