From 4d80a3dba1592f7429b784fd751a8ad94399fbfa Mon Sep 17 00:00:00 2001 From: "raymes@google.com" Date: Thu, 21 Jun 2012 17:58:24 +0000 Subject: 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 --- ppapi/proxy/ppapi_messages.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ppapi/proxy/ppapi_messages.h') 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, -- cgit v1.1