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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/c/dev/pp_print_settings_dev.h ('k') | ppapi/c/dev/ppp_printing_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/dev/ppb_printing_dev.h
diff --git a/ppapi/c/dev/ppb_printing_dev.h b/ppapi/c/dev/ppb_printing_dev.h
new file mode 100644
index 0000000000000000000000000000000000000000..97a59fa7ec1f47f44c9e0fad79f5efa2108f78b0
--- /dev/null
+++ b/ppapi/c/dev/ppb_printing_dev.h
@@ -0,0 +1,49 @@
+/* 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.
+ */
+
+/* From dev/ppb_printing_dev.idl modified Wed Jun 13 09:16:33 2012. */
+
+#ifndef PPAPI_C_DEV_PPB_PRINTING_DEV_H_
+#define PPAPI_C_DEV_PPB_PRINTING_DEV_H_
+
+#include "ppapi/c/dev/pp_print_settings_dev.h"
+#include "ppapi/c/pp_bool.h"
+#include "ppapi/c/pp_instance.h"
+#include "ppapi/c/pp_macros.h"
+#include "ppapi/c/pp_point.h"
+#include "ppapi/c/pp_rect.h"
+#include "ppapi/c/pp_size.h"
+#include "ppapi/c/pp_stdint.h"
+
+#define PPB_PRINTING_DEV_INTERFACE_0_6 "PPB_Printing(Dev);0.6"
+#define PPB_PRINTING_DEV_INTERFACE PPB_PRINTING_DEV_INTERFACE_0_6
+
+/**
+ * @file
+ * Definition of the PPB_Printing interface.
+ */
+
+
+/**
+ * @addtogroup Interfaces
+ * @{
+ */
+struct PPB_Printing_Dev_0_6 {
+ /**
+ * Outputs the default print settings for the default printer into
+ * <code>print_settings</code>. Returns <code>PP_FALSE</code> on error.
+ */
+ PP_Bool (*GetDefaultPrintSettings)(
+ PP_Instance instance,
+ struct PP_PrintSettings_Dev* print_settings);
+};
+
+typedef struct PPB_Printing_Dev_0_6 PPB_Printing_Dev;
+/**
+ * @}
+ */
+
+#endif /* PPAPI_C_DEV_PPB_PRINTING_DEV_H_ */
+
« no previous file with comments | « ppapi/c/dev/pp_print_settings_dev.h ('k') | ppapi/c/dev/ppp_printing_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698