Chromium Code Reviews| Index: ppapi/api/dev/ppb_printing_dev.idl |
| diff --git a/ppapi/api/dev/ppb_printing_dev.idl b/ppapi/api/dev/ppb_printing_dev.idl |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..891c1c222e6eccbe46c1aa3d40459d6ec8a92f3a |
| --- /dev/null |
| +++ b/ppapi/api/dev/ppb_printing_dev.idl |
| @@ -0,0 +1,22 @@ |
| +/* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| + * Use of this source code is governed by a BSD-style license that can be |
| + * found in the LICENSE file. |
| + */ |
| + |
| +/** |
| + * Implementation of the Printing interface. |
|
yzshen1
2012/06/12 23:14:34
This is not an 'implementation', right?
raymes
2012/06/13 18:23:46
Done.
|
| + */ |
| + |
| +// Note: This version should always match the PPP_Printing_Dev interface. |
| +label Chrome { |
| + M21 = 0.6 |
| +}; |
| + |
| +interface PPB_Printing_Dev { |
| + /** |
| + * Output the default print settings for the default printer into |
|
yzshen1
2012/06/12 23:14:34
Output -> Outputs.
raymes
2012/06/13 18:23:46
Done.
|
| + * <code>print_settings</code>. Returns <code>PP_FALSE</code> on error. |
| + */ |
| + PP_Bool GetDefaultPrintSettings([in] PP_Instance instance, |
|
yzshen1
2012/06/12 23:14:34
[Just to make sure you have considered it.]
Is it
raymes
2012/06/13 18:23:46
Yes, Trung wants this to be synchronous for flash.
|
| + [out] PP_PrintSettings_Dev print_settings); |
| +}; |