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/ppapi_messages.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/ppapi_messages.h')
-rw-r--r-- | ppapi/proxy/ppapi_messages.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h index da5d3c1..07c939c 100644 --- a/ppapi/proxy/ppapi_messages.h +++ b/ppapi/proxy/ppapi_messages.h @@ -952,7 +952,8 @@ IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBInstance_LockMouse, PP_Instance /* instance */) IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBInstance_UnlockMouse, PP_Instance /* instance */) -IPC_SYNC_MESSAGE_ROUTED0_2(PpapiHostMsg_PPBPInstance_GetDefaultPrintSettings, +IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBPInstance_GetDefaultPrintSettings, + PP_Instance /* instance */, PP_PrintSettings_Dev /* settings */, bool /* result */) IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_ResolveRelativeToDocument, |