OLD | NEW |
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 24 matching lines...) Expand all Loading... |
35 uint32_t sample_frame_count) OVERRIDE; | 35 uint32_t sample_frame_count) OVERRIDE; |
36 virtual PP_Resource CreateAudioInput( | 36 virtual PP_Resource CreateAudioInput( |
37 PP_Instance instance, | 37 PP_Instance instance, |
38 PP_Resource config_id, | 38 PP_Resource config_id, |
39 PPB_AudioInput_Callback audio_input_callback, | 39 PPB_AudioInput_Callback audio_input_callback, |
40 void* user_data) OVERRIDE; | 40 void* user_data) OVERRIDE; |
41 virtual PP_Resource CreateAudioInputTrusted(PP_Instance instance) OVERRIDE; | 41 virtual PP_Resource CreateAudioInputTrusted(PP_Instance instance) OVERRIDE; |
42 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; | 42 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; |
43 virtual PP_Resource CreateBuffer(PP_Instance instance, | 43 virtual PP_Resource CreateBuffer(PP_Instance instance, |
44 uint32_t size) OVERRIDE; | 44 uint32_t size) OVERRIDE; |
45 virtual PP_Resource CreateContext3D(PP_Instance instance, | |
46 PP_Config3D_Dev config, | |
47 PP_Resource share_context, | |
48 const int32_t* attrib_list) OVERRIDE; | |
49 virtual PP_Resource CreateContext3DRaw(PP_Instance instance, | |
50 PP_Config3D_Dev config, | |
51 PP_Resource share_context, | |
52 const int32_t* attrib_list) OVERRIDE; | |
53 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; | 45 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; |
54 virtual PP_Resource CreateFileChooser( | 46 virtual PP_Resource CreateFileChooser( |
55 PP_Instance instance, | 47 PP_Instance instance, |
56 PP_FileChooserMode_Dev mode, | 48 PP_FileChooserMode_Dev mode, |
57 const char* accept_mime_types) OVERRIDE; | 49 const char* accept_mime_types) OVERRIDE; |
58 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; | 50 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; |
59 virtual PP_Resource CreateFileRef(PP_Resource file_system, | 51 virtual PP_Resource CreateFileRef(PP_Resource file_system, |
60 const char* path) OVERRIDE; | 52 const char* path) OVERRIDE; |
61 virtual PP_Resource CreateFileSystem(PP_Instance instance, | 53 virtual PP_Resource CreateFileSystem(PP_Instance instance, |
62 PP_FileSystemType type) OVERRIDE; | 54 PP_FileSystemType type) OVERRIDE; |
(...skipping 27 matching lines...) Expand all Loading... |
90 PP_Instance instance, | 82 PP_Instance instance, |
91 PP_InputEvent_Type type, | 83 PP_InputEvent_Type type, |
92 PP_TimeTicks time_stamp, | 84 PP_TimeTicks time_stamp, |
93 uint32_t modifiers, | 85 uint32_t modifiers, |
94 PP_InputEvent_MouseButton mouse_button, | 86 PP_InputEvent_MouseButton mouse_button, |
95 const PP_Point* mouse_position, | 87 const PP_Point* mouse_position, |
96 int32_t click_count, | 88 int32_t click_count, |
97 const PP_Point* mouse_movement) OVERRIDE; | 89 const PP_Point* mouse_movement) OVERRIDE; |
98 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 90 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
99 PP_Bool vertical) OVERRIDE; | 91 PP_Bool vertical) OVERRIDE; |
100 virtual PP_Resource CreateSurface3D(PP_Instance instance, | |
101 PP_Config3D_Dev config, | |
102 const int32_t* attrib_list) OVERRIDE; | |
103 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; | 92 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; |
104 virtual PP_Resource CreateTransport(PP_Instance instance, | 93 virtual PP_Resource CreateTransport(PP_Instance instance, |
105 const char* name, | 94 const char* name, |
106 PP_TransportType type) OVERRIDE; | 95 PP_TransportType type) OVERRIDE; |
107 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; | 96 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; |
108 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; | 97 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; |
109 virtual PP_Resource CreateURLRequestInfo( | 98 virtual PP_Resource CreateURLRequestInfo( |
110 PP_Instance instance, | 99 PP_Instance instance, |
111 const ::ppapi::PPB_URLRequestInfo_Data& data) OVERRIDE; | 100 const ::ppapi::PPB_URLRequestInfo_Data& data) OVERRIDE; |
112 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; | 101 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; |
113 virtual PP_Resource CreateVideoDecoder( | 102 virtual PP_Resource CreateVideoDecoder( |
114 PP_Instance instance, | 103 PP_Instance instance, |
115 PP_Resource context3d_id, | 104 PP_Resource graphics3d_id, |
116 PP_VideoDecoder_Profile profile) OVERRIDE; | 105 PP_VideoDecoder_Profile profile) OVERRIDE; |
117 virtual PP_Resource CreateVideoLayer(PP_Instance instance, | 106 virtual PP_Resource CreateVideoLayer(PP_Instance instance, |
118 PP_VideoLayerMode_Dev mode) OVERRIDE; | 107 PP_VideoLayerMode_Dev mode) OVERRIDE; |
119 virtual PP_Resource CreateWebSocket(PP_Instance instance) OVERRIDE; | 108 virtual PP_Resource CreateWebSocket(PP_Instance instance) OVERRIDE; |
120 virtual PP_Resource CreateWheelInputEvent( | 109 virtual PP_Resource CreateWheelInputEvent( |
121 PP_Instance instance, | 110 PP_Instance instance, |
122 PP_TimeTicks time_stamp, | 111 PP_TimeTicks time_stamp, |
123 uint32_t modifiers, | 112 uint32_t modifiers, |
124 const PP_FloatPoint* wheel_delta, | 113 const PP_FloatPoint* wheel_delta, |
125 const PP_FloatPoint* wheel_ticks, | 114 const PP_FloatPoint* wheel_ticks, |
126 PP_Bool scroll_by_page) OVERRIDE; | 115 PP_Bool scroll_by_page) OVERRIDE; |
127 | 116 |
128 private: | 117 private: |
129 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 118 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
130 }; | 119 }; |
131 | 120 |
132 } // namespace ppapi | 121 } // namespace ppapi |
133 } // namespace webkit | 122 } // namespace webkit |
134 | 123 |
135 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 124 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
OLD | NEW |