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

Side by Side Diff: ppapi/api/dev/ppb_printing_dev.idl

Issue 10795051: Implement asynchronous interface/plumbing for GetDefaultPrintSettings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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 5
6 /** 6 /**
7 * Definition of the PPB_Printing interface. 7 * Definition of the PPB_Printing interface.
8 */ 8 */
9 9
10 // Note: This version should always match the PPP_Printing_Dev interface. 10 // Note: This version should always match the PPP_Printing_Dev interface.
11 label Chrome { 11 label Chrome {
12 M21 = 0.6 12 M21 = 0.6,
13 M23 = 0.7
13 }; 14 };
14 15
15 interface PPB_Printing_Dev { 16 interface PPB_Printing_Dev {
17 [version=0.6, deprecate=0.7]
18 PP_Bool GetDefaultPrintSettings([in] PP_Instance instance,
19 [out] PP_PrintSettings_Dev print_settings);
20
16 /** 21 /**
17 * Outputs the default print settings for the default printer into 22 * Outputs the default print settings for the default printer into
18 * <code>print_settings</code>. Returns <code>PP_FALSE</code> on error. 23 * <code>print_settings</code>. The completion callback is triggered when
24 * the settings have been copied into <code>print_settings</code>.
25 * <code>PP_ERROR_INPROGRESS</code> is returned if there is an outstanding
26 * request for the print settings in progress.
19 */ 27 */
20 PP_Bool GetDefaultPrintSettings([in] PP_Instance instance, 28 [version=0.7]
21 [out] PP_PrintSettings_Dev print_settings); 29 int32_t GetDefaultPrintSettings([in] PP_Instance instance,
30 [out] PP_PrintSettings_Dev print_settings,
31 [in] PP_CompletionCallback callback);
22 }; 32 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698