diff options
author | raymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-14 21:15:50 +0000 |
---|---|---|
committer | raymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-14 21:15:50 +0000 |
commit | 772a746250daaef9e464673d8a13359ed5f34ef3 (patch) | |
tree | 14b18be45ef79bca96f04523c14dcdfc4f1dc86c /ppapi/cpp/dev/printing_dev.h | |
parent | 43e497fd5191b24542d9a0a5ac8760a572279f4f (diff) | |
download | chromium_src-772a746250daaef9e464673d8a13359ed5f34ef3.zip chromium_src-772a746250daaef9e464673d8a13359ed5f34ef3.tar.gz chromium_src-772a746250daaef9e464673d8a13359ed5f34ef3.tar.bz2 |
This returns the default print settings for the default printer. Currently this just returns some generic values until it is hooked up to the chrome printing code.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10544085
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142232 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/cpp/dev/printing_dev.h')
-rw-r--r-- | ppapi/cpp/dev/printing_dev.h | 7 |
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_; }; |