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

Side by Side Diff: ppapi/thunk/resource_creation_api.h

Issue 10826026: Add a printing resource (as a new style resource) to fetch the default print settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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
« no previous file with comments | « ppapi/thunk/ppb_printing_thunk.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.h » ('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) 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 PPAPI_THUNK_RESOURCE_CREATION_API_H_ 5 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_
6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ 6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_
7 7
8 #include "ppapi/c/dev/ppb_audio_input_dev.h" 8 #include "ppapi/c/dev/ppb_audio_input_dev.h"
9 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 9 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
10 #include "ppapi/c/dev/ppb_video_layer_dev.h" 10 #include "ppapi/c/dev/ppb_video_layer_dev.h"
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 PP_FileChooserMode_Dev mode, 139 PP_FileChooserMode_Dev mode,
140 const char* accept_types) = 0; 140 const char* accept_types) = 0;
141 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) = 0; 141 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) = 0;
142 virtual PP_Resource CreateFlashMenu(PP_Instance instance, 142 virtual PP_Resource CreateFlashMenu(PP_Instance instance,
143 const PP_Flash_Menu* menu_data) = 0; 143 const PP_Flash_Menu* menu_data) = 0;
144 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; 144 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0;
145 virtual PP_Resource CreateNetworkMonitor( 145 virtual PP_Resource CreateNetworkMonitor(
146 PP_Instance instance, 146 PP_Instance instance,
147 PPB_NetworkMonitor_Callback callback, 147 PPB_NetworkMonitor_Callback callback,
148 void* user_data) = 0; 148 void* user_data) = 0;
149 virtual PP_Resource CreatePrinting(PP_Instance instance) = 0;
149 virtual PP_Resource CreateScrollbar(PP_Instance instance, 150 virtual PP_Resource CreateScrollbar(PP_Instance instance,
150 PP_Bool vertical) = 0; 151 PP_Bool vertical) = 0;
151 virtual PP_Resource CreateTalk(PP_Instance instance) = 0; 152 virtual PP_Resource CreateTalk(PP_Instance instance) = 0;
152 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; 153 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0;
153 virtual PP_Resource CreateVideoDecoder( 154 virtual PP_Resource CreateVideoDecoder(
154 PP_Instance instance, 155 PP_Instance instance,
155 PP_Resource context3d_id, 156 PP_Resource context3d_id,
156 PP_VideoDecoder_Profile profile) = 0; 157 PP_VideoDecoder_Profile profile) = 0;
157 virtual PP_Resource CreateVideoLayer(PP_Instance instance, 158 virtual PP_Resource CreateVideoLayer(PP_Instance instance,
158 PP_VideoLayerMode_Dev mode) = 0; 159 PP_VideoLayerMode_Dev mode) = 0;
159 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; 160 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0;
160 #endif // !defined(OS_NACL) 161 #endif // !defined(OS_NACL)
161 162
162 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 163 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
163 }; 164 };
164 165
165 } // namespace thunk 166 } // namespace thunk
166 } // namespace ppapi 167 } // namespace ppapi
167 168
168 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 169 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_printing_thunk.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698