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

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

Issue 10829219: Browser Plugin: Move to old namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style fix. Created 8 years, 4 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
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/pepper_plugin_delegate_impl.h" 5 #include "content/renderer/pepper/pepper_plugin_delegate_impl.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 #include <cstddef> 8 #include <cstddef>
9 #include <map> 9 #include <map>
10 #include <queue> 10 #include <queue>
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 hung_filter.get())) 355 hung_filter.get()))
356 return scoped_refptr<webkit::ppapi::PluginModule>(); 356 return scoped_refptr<webkit::ppapi::PluginModule>();
357 module->InitAsProxied(dispatcher.release()); 357 module->InitAsProxied(dispatcher.release());
358 return module; 358 return module;
359 } 359 }
360 360
361 scoped_refptr<webkit::ppapi::PluginModule> 361 scoped_refptr<webkit::ppapi::PluginModule>
362 PepperPluginDelegateImpl::CreateBrowserPluginModule( 362 PepperPluginDelegateImpl::CreateBrowserPluginModule(
363 const IPC::ChannelHandle& channel_handle, 363 const IPC::ChannelHandle& channel_handle,
364 int guest_process_id) { 364 int guest_process_id) {
365 BrowserPluginRegistry* registry = 365 content::old::BrowserPluginRegistry* registry =
366 RenderThreadImpl::current()->browser_plugin_registry(); 366 RenderThreadImpl::current()->browser_plugin_registry();
367 scoped_refptr<webkit::ppapi::PluginModule> module = 367 scoped_refptr<webkit::ppapi::PluginModule> module =
368 registry->GetModule(guest_process_id); 368 registry->GetModule(guest_process_id);
369 if (module) 369 if (module)
370 return module; 370 return module;
371 371
372 ppapi::PpapiPermissions permissions; 372 ppapi::PpapiPermissions permissions;
373 373
374 FilePath path(kBrowserPluginPath); 374 FilePath path(kBrowserPluginPath);
375 scoped_refptr<PepperHungPluginFilter> hung_filter( 375 scoped_refptr<PepperHungPluginFilter> hung_filter(
(...skipping 1388 matching lines...) Expand 10 before | Expand all | Expand 10 after
1764 else 1764 else
1765 return render_view_->mouse_lock_dispatcher(); 1765 return render_view_->mouse_lock_dispatcher();
1766 } 1766 }
1767 1767
1768 webkit_glue::ClipboardClient* 1768 webkit_glue::ClipboardClient*
1769 PepperPluginDelegateImpl::CreateClipboardClient() const { 1769 PepperPluginDelegateImpl::CreateClipboardClient() const {
1770 return new RendererClipboardClient; 1770 return new RendererClipboardClient;
1771 } 1771 }
1772 1772
1773 } // namespace content 1773 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/browser_plugin/old/guest_to_embedder_channel.cc ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698