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/proxy/ppb_instance_proxy.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/proxy/ppb_instance_proxy.h')
-rw-r--r-- | ppapi/proxy/ppb_instance_proxy.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ppapi/proxy/ppb_instance_proxy.h b/ppapi/proxy/ppb_instance_proxy.h index b508a25..7a84ec8 100644 --- a/ppapi/proxy/ppb_instance_proxy.h +++ b/ppapi/proxy/ppb_instance_proxy.h @@ -87,6 +87,9 @@ class PPB_Instance_Proxy : public InterfaceProxy, virtual int32_t LockMouse(PP_Instance instance, PP_CompletionCallback callback) OVERRIDE; virtual void UnlockMouse(PP_Instance instance) OVERRIDE; + virtual PP_Bool GetDefaultPrintSettings( + PP_Instance instance, + PP_PrintSettings_Dev* print_settings) OVERRIDE; virtual void SetTextInputType(PP_Instance instance, PP_TextInput_Type type) OVERRIDE; virtual void UpdateCaretPosition(PP_Instance instance, @@ -153,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, |