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

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

Issue 16605006: Clean up Pepper ImageData resource class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add NOTREACHED if creating PlatformImageData in NaCl. Created 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/thunk/resource_creation_api.h" 10 #include "ppapi/thunk/resource_creation_api.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 virtual PP_Resource CreateFlashMenu(PP_Instance instance, 51 virtual PP_Resource CreateFlashMenu(PP_Instance instance,
52 const PP_Flash_Menu* menu_data) OVERRIDE; 52 const PP_Flash_Menu* menu_data) OVERRIDE;
53 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; 53 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE;
54 virtual PP_Resource CreateGraphics3D(PP_Instance instance, 54 virtual PP_Resource CreateGraphics3D(PP_Instance instance,
55 PP_Resource share_context, 55 PP_Resource share_context,
56 const int32_t* attrib_list) OVERRIDE; 56 const int32_t* attrib_list) OVERRIDE;
57 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, 57 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance,
58 PP_Resource share_context, 58 PP_Resource share_context,
59 const int32_t* attrib_list) OVERRIDE; 59 const int32_t* attrib_list) OVERRIDE;
60 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE; 60 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE;
61 virtual PP_Resource CreateImageData(PP_Instance instance, 61 virtual PP_Resource CreateImageData(
62 PP_ImageDataFormat format, 62 PP_Instance instance,
63 const PP_Size* size, 63 ::ppapi::PPB_ImageData_Shared::ImageDataType type,
64 PP_Bool init_to_zero) OVERRIDE; 64 PP_ImageDataFormat format,
65 virtual PP_Resource CreateImageDataNaCl(PP_Instance instance, 65 const PP_Size* size,
66 PP_ImageDataFormat format, 66 PP_Bool init_to_zero) OVERRIDE;
67 const PP_Size* size,
68 PP_Bool init_to_zero) OVERRIDE;
69 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance, 67 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance,
70 PP_InputEvent_Type type, 68 PP_InputEvent_Type type,
71 PP_TimeTicks time_stamp, 69 PP_TimeTicks time_stamp,
72 struct PP_Var text, 70 struct PP_Var text,
73 uint32_t segment_number, 71 uint32_t segment_number,
74 const uint32_t* segment_offsets, 72 const uint32_t* segment_offsets,
75 int32_t target_segment, 73 int32_t target_segment,
76 uint32_t selection_start, 74 uint32_t selection_start,
77 uint32_t selection_end) OVERRIDE; 75 uint32_t selection_end) OVERRIDE;
78 virtual PP_Resource CreateIsolatedFileSystem(PP_Instance instance, 76 virtual PP_Resource CreateIsolatedFileSystem(PP_Instance instance,
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 PP_Instance instance) OVERRIDE; 136 PP_Instance instance) OVERRIDE;
139 137
140 private: 138 private:
141 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); 139 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl);
142 }; 140 };
143 141
144 } // namespace ppapi 142 } // namespace ppapi
145 } // namespace webkit 143 } // namespace webkit
146 144
147 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ 145 #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