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

Side by Side Diff: ppapi/c/dev/ppb_printing_dev.h

Issue 10544085: Added PPB function to return default print settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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
(Empty)
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
3 * found in the LICENSE file.
4 */
5
6 /* From dev/ppb_printing_dev.idl modified Wed Jun 13 09:16:33 2012. */
7
8 #ifndef PPAPI_C_DEV_PPB_PRINTING_DEV_H_
9 #define PPAPI_C_DEV_PPB_PRINTING_DEV_H_
10
11 #include "ppapi/c/dev/pp_print_settings_dev.h"
12 #include "ppapi/c/pp_bool.h"
13 #include "ppapi/c/pp_instance.h"
14 #include "ppapi/c/pp_macros.h"
15 #include "ppapi/c/pp_point.h"
16 #include "ppapi/c/pp_rect.h"
17 #include "ppapi/c/pp_size.h"
18 #include "ppapi/c/pp_stdint.h"
19
20 #define PPB_PRINTING_DEV_INTERFACE_0_6 "PPB_Printing(Dev);0.6"
21 #define PPB_PRINTING_DEV_INTERFACE PPB_PRINTING_DEV_INTERFACE_0_6
22
23 /**
24 * @file
25 * Definition of the PPB_Printing interface.
26 */
27
28
29 /**
30 * @addtogroup Interfaces
31 * @{
32 */
33 struct PPB_Printing_Dev_0_6 {
34 /**
35 * Outputs the default print settings for the default printer into
36 * <code>print_settings</code>. Returns <code>PP_FALSE</code> on error.
37 */
38 PP_Bool (*GetDefaultPrintSettings)(
39 PP_Instance instance,
40 struct PP_PrintSettings_Dev* print_settings);
41 };
42
43 typedef struct PPB_Printing_Dev_0_6 PPB_Printing_Dev;
44 /**
45 * @}
46 */
47
48 #endif /* PPAPI_C_DEV_PPB_PRINTING_DEV_H_ */
49
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698