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

Side by Side Diff: content/renderer/pepper/renderer_ppapi_host_impl.h

Issue 10944005: Pepper WebSocket API: Implement new design Chrome IPC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nits Created 8 years, 2 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 #ifndef CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/renderer/renderer_ppapi_host.h" 10 #include "content/public/renderer/renderer_ppapi_host.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 // happen automatically. 79 // happen automatically.
80 scoped_ptr< ::ppapi::thunk::ResourceCreationAPI> 80 scoped_ptr< ::ppapi::thunk::ResourceCreationAPI>
81 CreateInProcessResourceCreationAPI( 81 CreateInProcessResourceCreationAPI(
82 webkit::ppapi::PluginInstance* instance); 82 webkit::ppapi::PluginInstance* instance);
83 83
84 // RendererPpapiHost. 84 // RendererPpapiHost.
85 virtual ppapi::host::PpapiHost* GetPpapiHost() OVERRIDE; 85 virtual ppapi::host::PpapiHost* GetPpapiHost() OVERRIDE;
86 virtual bool IsValidInstance(PP_Instance instance) const OVERRIDE; 86 virtual bool IsValidInstance(PP_Instance instance) const OVERRIDE;
87 virtual RenderView* GetRenderViewForInstance( 87 virtual RenderView* GetRenderViewForInstance(
88 PP_Instance instance) const OVERRIDE; 88 PP_Instance instance) const OVERRIDE;
89 virtual WebKit::WebPluginContainer* GetContainerForInstance(
90 PP_Instance instance) const OVERRIDE;
89 virtual bool HasUserGesture(PP_Instance instance) const OVERRIDE; 91 virtual bool HasUserGesture(PP_Instance instance) const OVERRIDE;
90 92
91 private: 93 private:
92 RendererPpapiHostImpl(webkit::ppapi::PluginModule* module, 94 RendererPpapiHostImpl(webkit::ppapi::PluginModule* module,
93 ppapi::proxy::HostDispatcher* dispatcher, 95 ppapi::proxy::HostDispatcher* dispatcher,
94 const ppapi::PpapiPermissions& permissions); 96 const ppapi::PpapiPermissions& permissions);
95 RendererPpapiHostImpl(webkit::ppapi::PluginModule* module, 97 RendererPpapiHostImpl(webkit::ppapi::PluginModule* module,
96 const ppapi::PpapiPermissions& permissions); 98 const ppapi::PpapiPermissions& permissions);
97 99
98 // Retrieves the plugin instance object associated with the given PP_Instance 100 // Retrieves the plugin instance object associated with the given PP_Instance
(...skipping 11 matching lines...) Expand all
110 112
111 // Null when running out-of-process. 113 // Null when running out-of-process.
112 scoped_ptr<PepperInProcessRouter> in_process_router_; 114 scoped_ptr<PepperInProcessRouter> in_process_router_;
113 115
114 DISALLOW_COPY_AND_ASSIGN(RendererPpapiHostImpl); 116 DISALLOW_COPY_AND_ASSIGN(RendererPpapiHostImpl);
115 }; 117 };
116 118
117 } // namespace content 119 } // namespace content
118 120
119 #endif // CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_ 121 #endif // CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_websocket_host.cc ('k') | content/renderer/pepper/renderer_ppapi_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698