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

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

Issue 5794003: Deinline even more destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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 | « net/url_request/url_request_ftp_job.cc ('k') | webkit/glue/plugins/pepper_plugin_object.cc » ('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_CLASS_H_ 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_CLASS_H_
6 #define WEBKIT_GLUE_PLUGINS_PEPPER_CLASS_H_ 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_CLASS_H_
7 7
8 #include "webkit/glue/plugins/pepper_resource.h" 8 #include "webkit/glue/plugins/pepper_resource.h"
9 9
10 #include <string> 10 #include <string>
(...skipping 22 matching lines...) Expand all
33 typedef base::hash_map<std::string, Property> PropertyMap; 33 typedef base::hash_map<std::string, Property> PropertyMap;
34 34
35 // Returns the PPB_Var interface for the plugin to use. 35 // Returns the PPB_Var interface for the plugin to use.
36 static const PPB_Class* GetInterface(); 36 static const PPB_Class* GetInterface();
37 37
38 VarObjectClass(PluginModule* module, PP_ClassDestructor destruct, 38 VarObjectClass(PluginModule* module, PP_ClassDestructor destruct,
39 PP_ClassFunction invoke, PP_ClassProperty* properties); 39 PP_ClassFunction invoke, PP_ClassProperty* properties);
40 virtual ~VarObjectClass(); 40 virtual ~VarObjectClass();
41 41
42 // Resource override. 42 // Resource override.
43 virtual VarObjectClass* AsVarObjectClass() { return this; } 43 virtual VarObjectClass* AsVarObjectClass();
44 44
45 const PropertyMap &properties() const { return properties_; } 45 const PropertyMap &properties() const { return properties_; }
46 46
47 PP_ClassDestructor instance_native_destructor() { 47 PP_ClassDestructor instance_native_destructor() {
48 return instance_native_destructor_; 48 return instance_native_destructor_;
49 } 49 }
50 50
51 PP_ClassFunction instance_invoke() { 51 PP_ClassFunction instance_invoke() {
52 return instance_invoke_; 52 return instance_invoke_;
53 } 53 }
54 54
55 private: 55 private:
56 PropertyMap properties_; 56 PropertyMap properties_;
57 PP_ClassDestructor instance_native_destructor_; 57 PP_ClassDestructor instance_native_destructor_;
58 PP_ClassFunction instance_invoke_; 58 PP_ClassFunction instance_invoke_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(VarObjectClass); 60 DISALLOW_COPY_AND_ASSIGN(VarObjectClass);
61 }; 61 };
62 62
63 } // namespace pepper 63 } // namespace pepper
64 64
65 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_CLASS_H_ 65 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_CLASS_H_
66 66
OLDNEW
« no previous file with comments | « net/url_request/url_request_ftp_job.cc ('k') | webkit/glue/plugins/pepper_plugin_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698