summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp/dev/printing_dev.h
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/cpp/dev/printing_dev.h')
-rw-r--r--ppapi/cpp/dev/printing_dev.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/ppapi/cpp/dev/printing_dev.h b/ppapi/cpp/dev/printing_dev.h
index 734015f..8ce981f 100644
--- a/ppapi/cpp/dev/printing_dev.h
+++ b/ppapi/cpp/dev/printing_dev.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// 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.
@@ -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_;
};