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

Unified Diff: ppapi/api/dev/ppb_printing_dev.idl

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/api/dev/pp_print_settings_dev.idl ('k') | ppapi/api/dev/ppp_printing_dev.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5627858525c76ff39c9b50d0e0ad614a699fac88
--- /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.
+ */
+
+/**
+ * Definition of the PPB_Printing interface.
+ */
+
+// Note: This version should always match the PPP_Printing_Dev interface.
+label Chrome {
+ M21 = 0.6
+};
+
+interface PPB_Printing_Dev {
+ /**
+ * Outputs the default print settings for the default printer into
+ * <code>print_settings</code>. Returns <code>PP_FALSE</code> on error.
+ */
+ PP_Bool GetDefaultPrintSettings([in] PP_Instance instance,
+ [out] PP_PrintSettings_Dev print_settings);
+};
« no previous file with comments | « ppapi/api/dev/pp_print_settings_dev.idl ('k') | ppapi/api/dev/ppp_printing_dev.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698