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

Side by Side Diff: webkit/glue/plugins/pepper_plugin_module.h

Issue 3255003: Pull new PPAPI, rename non-P0 interfaces to Dev, rename DeviceContext2D to Gr... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 3 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_GLUE_PLUGINS_PEPPER_PLUGIN_MODULE_H_ 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_MODULE_H_
6 #define WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_MODULE_H_ 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_MODULE_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/native_library.h" 11 #include "base/native_library.h"
12 #include "base/ref_counted.h" 12 #include "base/ref_counted.h"
13 #include "third_party/ppapi/c/pp_module.h" 13 #include "third_party/ppapi/c/pp_module.h"
14 #include "third_party/ppapi/c/ppb.h" 14 #include "third_party/ppapi/c/ppb.h"
15 15
16 class FilePath; 16 class FilePath;
17 17
18 typedef struct _ppb_Core PPB_Core; 18 struct PPB_Core;
19 19
20 namespace pepper { 20 namespace pepper {
21 21
22 class PluginDelegate; 22 class PluginDelegate;
23 class PluginInstance; 23 class PluginInstance;
24 24
25 class PluginModule : public base::RefCounted<PluginModule> { 25 class PluginModule : public base::RefCounted<PluginModule> {
26 public: 26 public:
27 typedef const void* (*PPP_GetInterfaceFunc)(const char*); 27 typedef const void* (*PPP_GetInterfaceFunc)(const char*);
28 typedef int (*PPP_InitializeModuleFunc)(PP_Module, PPB_GetInterface); 28 typedef int (*PPP_InitializeModuleFunc)(PP_Module, PPB_GetInterface);
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // there are no more instances, this object should be deleted. 94 // there are no more instances, this object should be deleted.
95 typedef std::set<PluginInstance*> PluginInstanceSet; 95 typedef std::set<PluginInstance*> PluginInstanceSet;
96 PluginInstanceSet instances_; 96 PluginInstanceSet instances_;
97 97
98 DISALLOW_COPY_AND_ASSIGN(PluginModule); 98 DISALLOW_COPY_AND_ASSIGN(PluginModule);
99 }; 99 };
100 100
101 } // namespace pepper 101 } // namespace pepper
102 102
103 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_MODULE_H_ 103 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_MODULE_H_
OLDNEW
« no previous file with comments | « webkit/glue/plugins/pepper_plugin_instance.cc ('k') | webkit/glue/plugins/pepper_plugin_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698