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

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

Issue 7431001: Re-land r92885, which was reverted in r92891. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 5 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual PP_Resource CreateFontObject( 60 virtual PP_Resource CreateFontObject(
61 PP_Instance instance, 61 PP_Instance instance,
62 const PP_FontDescription_Dev* description) OVERRIDE; 62 const PP_FontDescription_Dev* description) OVERRIDE;
63 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, 63 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance,
64 const PP_Size& size, 64 const PP_Size& size,
65 PP_Bool is_always_opaque) OVERRIDE; 65 PP_Bool is_always_opaque) OVERRIDE;
66 virtual PP_Resource CreateGraphics3D(PP_Instance instance, 66 virtual PP_Resource CreateGraphics3D(PP_Instance instance,
67 PP_Config3D_Dev config, 67 PP_Config3D_Dev config,
68 PP_Resource share_context, 68 PP_Resource share_context,
69 const int32_t* attrib_list) OVERRIDE; 69 const int32_t* attrib_list) OVERRIDE;
70 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance,
71 PP_Config3D_Dev config,
72 PP_Resource share_context,
73 const int32_t* attrib_list) OVERRIDE;
70 virtual PP_Resource CreateImageData(PP_Instance instance, 74 virtual PP_Resource CreateImageData(PP_Instance instance,
71 PP_ImageDataFormat format, 75 PP_ImageDataFormat format,
72 const PP_Size& size, 76 const PP_Size& size,
73 PP_Bool init_to_zero) OVERRIDE; 77 PP_Bool init_to_zero) OVERRIDE;
74 virtual PP_Resource CreateScrollbar(PP_Instance instance, 78 virtual PP_Resource CreateScrollbar(PP_Instance instance,
75 PP_Bool vertical) OVERRIDE; 79 PP_Bool vertical) OVERRIDE;
76 virtual PP_Resource CreateSurface3D(PP_Instance instance, 80 virtual PP_Resource CreateSurface3D(PP_Instance instance,
77 PP_Config3D_Dev config, 81 PP_Config3D_Dev config,
78 const int32_t* attrib_list) OVERRIDE; 82 const int32_t* attrib_list) OVERRIDE;
79 virtual PP_Resource CreateTransport(PP_Instance instance, 83 virtual PP_Resource CreateTransport(PP_Instance instance,
80 const char* name, 84 const char* name,
81 const char* proto) OVERRIDE; 85 const char* proto) OVERRIDE;
82 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; 86 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE;
83 virtual PP_Resource CreateURLRequestInfo(PP_Instance instance) OVERRIDE; 87 virtual PP_Resource CreateURLRequestInfo(PP_Instance instance) OVERRIDE;
84 virtual PP_Resource CreateVideoDecoder(PP_Instance instance) OVERRIDE; 88 virtual PP_Resource CreateVideoDecoder(PP_Instance instance) OVERRIDE;
85 virtual PP_Resource CreateVideoLayer(PP_Instance instance, 89 virtual PP_Resource CreateVideoLayer(PP_Instance instance,
86 PP_VideoLayerMode_Dev mode) OVERRIDE; 90 PP_VideoLayerMode_Dev mode) OVERRIDE;
87 91
88 private: 92 private:
89 PluginInstance* instance_; 93 PluginInstance* instance_;
90 94
91 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); 95 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl);
92 }; 96 };
93 97
94 } // namespace ppapi 98 } // namespace ppapi
95 } // namespace webkit 99 } // namespace webkit
96 100
97 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ 101 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppb_graphics_3d_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