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

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

Issue 6366019: Part 1 of repairing regressions to my old clang check plugins so Nico can (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove Nico's changes that I patched in for testing. Created 9 years, 10 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_PLUGINS_PPAPI_CLASS_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_CLASS_H_
6 #define WEBKIT_PLUGINS_PPAPI_CLASS_H_ 6 #define WEBKIT_PLUGINS_PPAPI_CLASS_H_
7 7
8 #include "webkit/plugins/ppapi/resource.h" 8 #include "webkit/plugins/ppapi/resource.h"
9 9
10 #include <string> 10 #include <string>
(...skipping 15 matching lines...) Expand all
26 26
27 const PP_ClassFunction method; 27 const PP_ClassFunction method;
28 const PP_ClassFunction getter; 28 const PP_ClassFunction getter;
29 const PP_ClassFunction setter; 29 const PP_ClassFunction setter;
30 const bool writable; 30 const bool writable;
31 const bool enumerable; 31 const bool enumerable;
32 }; 32 };
33 33
34 struct InstanceData : public NPObject { 34 struct InstanceData : public NPObject {
35 InstanceData(); 35 InstanceData();
36 ~InstanceData();
36 37
37 scoped_refptr<VarObjectClass> object_class; 38 scoped_refptr<VarObjectClass> object_class;
38 void* native_data; 39 void* native_data;
39 }; 40 };
40 41
41 typedef base::hash_map<std::string, Property> PropertyMap; 42 typedef base::hash_map<std::string, Property> PropertyMap;
42 43
43 VarObjectClass(PluginInstance* instance, PP_ClassDestructor destruct, 44 VarObjectClass(PluginInstance* instance, PP_ClassDestructor destruct,
44 PP_ClassFunction invoke, PP_ClassProperty* properties); 45 PP_ClassFunction invoke, PP_ClassProperty* properties);
45 virtual ~VarObjectClass(); 46 virtual ~VarObjectClass();
(...skipping 20 matching lines...) Expand all
66 PP_ClassFunction instance_invoke_; 67 PP_ClassFunction instance_invoke_;
67 68
68 DISALLOW_COPY_AND_ASSIGN(VarObjectClass); 69 DISALLOW_COPY_AND_ASSIGN(VarObjectClass);
69 }; 70 };
70 71
71 } // namespace ppapi 72 } // namespace ppapi
72 } // namespace webkit 73 } // namespace webkit
73 74
74 #endif // WEBKIT_PLUGINS_PPAPI_CLASS_H_ 75 #endif // WEBKIT_PLUGINS_PPAPI_CLASS_H_
75 76
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698