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

Side by Side Diff: webkit/plugins/ppapi/resource_creation_impl.h

Issue 10578043: Hook up content/renderer to the PPAPI host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments addressed Created 8 years, 5 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
« no previous file with comments | « webkit/plugins/ppapi/ppapi_plugin_instance.cc ('k') | no next file » | 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 #ifndef WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ppapi/thunk/resource_creation_api.h" 10 #include "ppapi/thunk/resource_creation_api.h"
11 #include "webkit/plugins/webkit_plugins_export.h"
11 12
12 namespace webkit { 13 namespace webkit {
13 namespace ppapi { 14 namespace ppapi {
14 15
15 class PluginInstance; 16 class PluginInstance;
16 17
17 class ResourceCreationImpl : public ::ppapi::thunk::ResourceCreationAPI { 18 class WEBKIT_PLUGINS_EXPORT ResourceCreationImpl
19 : public NON_EXPORTED_BASE(::ppapi::thunk::ResourceCreationAPI) {
18 public: 20 public:
19 explicit ResourceCreationImpl(PluginInstance* instance); 21 explicit ResourceCreationImpl(PluginInstance* instance);
20 virtual ~ResourceCreationImpl(); 22 virtual ~ResourceCreationImpl();
21 23
22 // ResourceCreationAPI implementation. 24 // ResourceCreationAPI implementation.
23 virtual PP_Resource CreateAudio(PP_Instance instance, 25 virtual PP_Resource CreateAudio(PP_Instance instance,
24 PP_Resource config_id, 26 PP_Resource config_id,
25 PPB_Audio_Callback audio_callback, 27 PPB_Audio_Callback audio_callback,
26 void* user_data) OVERRIDE; 28 void* user_data) OVERRIDE;
27 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; 29 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE;
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 PP_Instance instance) OVERRIDE; 138 PP_Instance instance) OVERRIDE;
137 139
138 private: 140 private:
139 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); 141 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl);
140 }; 142 };
141 143
142 } // namespace ppapi 144 } // namespace ppapi
143 } // namespace webkit 145 } // namespace webkit
144 146
145 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ 147 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppapi_plugin_instance.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698