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

Unified Diff: ppapi/cpp/dev/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/ppp_printing_dev.h ('k') | ppapi/cpp/dev/printing_dev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/printing_dev.h
diff --git a/ppapi/cpp/dev/printing_dev.h b/ppapi/cpp/dev/printing_dev.h
index 734015f4d3d72b1fce816c59c000135dfd4ff998..551bbbaf9c3e67a9c5bc9205f5be812135b5c88b 100644
--- a/ppapi/cpp/dev/printing_dev.h
+++ b/ppapi/cpp/dev/printing_dev.h
@@ -30,6 +30,11 @@ class Printing_Dev {
virtual void PrintEnd() = 0;
virtual bool IsPrintScalingDisabled() = 0;
+ // PPB_Printing_Dev functions.
+ // Outputs the default print settings for the default printer into
+ // |print_settings|. Returns false on error.
+ bool GetDefaultPrintSettings(PP_PrintSettings_Dev* print_settings);
+
private:
InstanceHandle associated_instance_;
};
« no previous file with comments | « ppapi/c/dev/ppp_printing_dev.h ('k') | ppapi/cpp/dev/printing_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698