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

Side by Side Diff: webkit/glue/plugins/pepper_var.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
« no previous file with comments | « webkit/glue/plugins/pepper_url_util.cc ('k') | webkit/glue/plugins/pepper_widget.h » ('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) 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_VAR_H_ 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_VAR_H_
6 #define WEBKIT_GLUE_PLUGINS_PEPPER_VAR_H_ 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_VAR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 typedef struct _pp_Var PP_Var; 10 struct PP_Var;
11 typedef struct _ppb_Var PPB_Var; 11 struct PPB_Var;
12 typedef struct NPObject NPObject; 12 typedef struct NPObject NPObject;
13 typedef struct _NPVariant NPVariant; 13 typedef struct _NPVariant NPVariant;
14 typedef void* NPIdentifier; 14 typedef void* NPIdentifier;
15 15
16 namespace pepper { 16 namespace pepper {
17 17
18 class String; 18 class String;
19 19
20 // There's no class implementing Var since it could represent a number of 20 // There's no class implementing Var since it could represent a number of
21 // objects. Instead, we just expose a getter for the interface implemented in 21 // objects. Instead, we just expose a getter for the interface implemented in
(...skipping 16 matching lines...) Expand all
38 PP_Var StringToPPVar(const std::string& str); 38 PP_Var StringToPPVar(const std::string& str);
39 39
40 // Returns the String corresponding to the PP_Var. This pointer has not been 40 // Returns the String corresponding to the PP_Var. This pointer has not been
41 // AddRef'd, so you should not call Release! Returns NULL if the PP_Var is not 41 // AddRef'd, so you should not call Release! Returns NULL if the PP_Var is not
42 // a string type. 42 // a string type.
43 String* GetString(PP_Var var); 43 String* GetString(PP_Var var);
44 44
45 } // namespace pepper 45 } // namespace pepper
46 46
47 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_VAR_H_ 47 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_VAR_H_
OLDNEW
« no previous file with comments | « webkit/glue/plugins/pepper_url_util.cc ('k') | webkit/glue/plugins/pepper_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698