diff options
author | raymes@google.com <raymes@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-21 17:58:24 +0000 |
---|---|---|
committer | raymes@google.com <raymes@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-21 17:58:24 +0000 |
commit | 4d80a3dba1592f7429b784fd751a8ad94399fbfa (patch) | |
tree | bf2d4e820765840b7828132bdf51e0191ba2da2b /ppapi/proxy/ppb_instance_proxy.h | |
parent | 114313bc5ba93b9a952f07da1224b22ae7011154 (diff) | |
download | chromium_src-4d80a3dba1592f7429b784fd751a8ad94399fbfa.zip chromium_src-4d80a3dba1592f7429b784fd751a8ad94399fbfa.tar.gz chromium_src-4d80a3dba1592f7429b784fd751a8ad94399fbfa.tar.bz2 |
Revert 143294 - Provides a real implementation of GetDefaultPrintSettings.
Reverting due to: http://code.google.com/p/chromium/issues/detail?id=133972
This accesses the Chrome printing code to determine the default print settings for the default printer. Ideally we would query these settings every time they are requested, however this cannot be done (see the description in pepper_print_settings_initializer.h). Instead the settings are grabbed once at startup and cached.
BUG=
TEST=Added ppapi test.
Review URL: https://chromiumcodereview.appspot.com/10539171
TBR=raymes@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10633008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143409 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_instance_proxy.h')
-rw-r--r-- | ppapi/proxy/ppb_instance_proxy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ppapi/proxy/ppb_instance_proxy.h b/ppapi/proxy/ppb_instance_proxy.h index 6d65f0c..7a84ec8 100644 --- a/ppapi/proxy/ppb_instance_proxy.h +++ b/ppapi/proxy/ppb_instance_proxy.h @@ -156,6 +156,9 @@ class PPB_Instance_Proxy : public InterfaceProxy, SerializedVarReceiveInput message); void OnHostMsgLockMouse(PP_Instance instance); void OnHostMsgUnlockMouse(PP_Instance instance); + void OnHostMsgGetDefaultPrintSettings(PP_Instance instance, + PP_PrintSettings_Dev* settings, + bool* result); void OnHostMsgSetCursor(PP_Instance instance, int32_t type, const ppapi::HostResource& custom_image, |