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

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

Issue 7149026: Implement flash menu and net connector resources using the API/thunk model. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/shared_impl/function_group_base.h" 10 #include "ppapi/shared_impl/function_group_base.h"
(...skipping 27 matching lines...) Expand all
38 uint32_t size) OVERRIDE; 38 uint32_t size) OVERRIDE;
39 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; 39 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE;
40 virtual PP_Resource CreateFileChooser( 40 virtual PP_Resource CreateFileChooser(
41 PP_Instance instance, 41 PP_Instance instance,
42 const PP_FileChooserOptions_Dev* options) OVERRIDE; 42 const PP_FileChooserOptions_Dev* options) OVERRIDE;
43 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; 43 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE;
44 virtual PP_Resource CreateFileRef(PP_Resource file_system, 44 virtual PP_Resource CreateFileRef(PP_Resource file_system,
45 const char* path) OVERRIDE; 45 const char* path) OVERRIDE;
46 virtual PP_Resource CreateFileSystem(PP_Instance instance, 46 virtual PP_Resource CreateFileSystem(PP_Instance instance,
47 PP_FileSystemType_Dev type) OVERRIDE; 47 PP_FileSystemType_Dev type) OVERRIDE;
48 virtual PP_Resource CreateFlashMenu(PP_Instance instance,
49 const PP_Flash_Menu* menu_data) OVERRIDE;
50 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) OVERRIDE;
48 virtual PP_Resource CreateFontObject( 51 virtual PP_Resource CreateFontObject(
49 PP_Instance instance, 52 PP_Instance instance,
50 const PP_FontDescription_Dev* description) OVERRIDE; 53 const PP_FontDescription_Dev* description) OVERRIDE;
51 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, 54 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance,
52 const PP_Size& size, 55 const PP_Size& size,
53 PP_Bool is_always_opaque) OVERRIDE; 56 PP_Bool is_always_opaque) OVERRIDE;
54 virtual PP_Resource CreateImageData(PP_Instance instance, 57 virtual PP_Resource CreateImageData(PP_Instance instance,
55 PP_ImageDataFormat format, 58 PP_ImageDataFormat format,
56 const PP_Size& size, 59 const PP_Size& size,
57 PP_Bool init_to_zero) OVERRIDE; 60 PP_Bool init_to_zero) OVERRIDE;
58 61
59 private: 62 private:
60 PluginInstance* instance_; 63 PluginInstance* instance_;
61 64
62 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); 65 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl);
63 }; 66 };
64 67
65 } // namespace ppapi 68 } // namespace ppapi
66 } // namespace webkit 69 } // namespace webkit
67 70
68 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ 71 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppb_image_data_impl.cc ('k') | webkit/plugins/ppapi/resource_creation_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698