Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 118338: Add support for printing selection only flag. This only adds the flag to the ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/common/temp_scaffolding_stubs.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 1052 matching lines...) Expand 10 before | Expand all | Expand 10 after
1063 1063
1064 // The renderer wants to know the default print settings. 1064 // The renderer wants to know the default print settings.
1065 IPC_SYNC_MESSAGE_ROUTED0_1(ViewHostMsg_GetDefaultPrintSettings, 1065 IPC_SYNC_MESSAGE_ROUTED0_1(ViewHostMsg_GetDefaultPrintSettings,
1066 ViewMsg_Print_Params /* default_settings */) 1066 ViewMsg_Print_Params /* default_settings */)
1067 1067
1068 #if defined(OS_WIN) 1068 #if defined(OS_WIN)
1069 // It's the renderer that controls the printing process when it is generated 1069 // It's the renderer that controls the printing process when it is generated
1070 // by javascript. This step is about showing UI to the user to select the 1070 // by javascript. This step is about showing UI to the user to select the
1071 // final print settings. The output parameter is the same as 1071 // final print settings. The output parameter is the same as
1072 // ViewMsg_PrintPages which is executed implicitly. 1072 // ViewMsg_PrintPages which is executed implicitly.
1073 IPC_SYNC_MESSAGE_ROUTED3_1(ViewHostMsg_ScriptedPrint, 1073 IPC_SYNC_MESSAGE_ROUTED4_1(ViewHostMsg_ScriptedPrint,
1074 gfx::NativeViewId /* host_window */, 1074 gfx::NativeViewId /* host_window */,
1075 int /* cookie */, 1075 int /* cookie */,
1076 int /* expected_pages_count */, 1076 int /* expected_pages_count */,
1077 bool /* has_selection */,
1077 ViewMsg_PrintPages_Params /* settings choosen by 1078 ViewMsg_PrintPages_Params /* settings choosen by
1078 the user*/) 1079 the user*/)
1079 #endif // defined(OS_WIN) 1080 #endif // defined(OS_WIN)
1080 1081
1081 // WebKit and JavaScript error messages to log to the console 1082 // WebKit and JavaScript error messages to log to the console
1082 // or debugger UI. 1083 // or debugger UI.
1083 IPC_MESSAGE_ROUTED3(ViewHostMsg_AddMessageToConsole, 1084 IPC_MESSAGE_ROUTED3(ViewHostMsg_AddMessageToConsole,
1084 std::wstring, /* msg */ 1085 std::wstring, /* msg */
1085 int32, /* line number */ 1086 int32, /* line number */
1086 std::wstring /* source id */) 1087 std::wstring /* source id */)
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
1422 // ExtensionUnpacker for details. 1423 // ExtensionUnpacker for details.
1423 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Succeeded, 1424 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Succeeded,
1424 DictionaryValue /* manifest */) 1425 DictionaryValue /* manifest */)
1425 1426
1426 // Reply when the utility process has failed while unpacking an extension. 1427 // Reply when the utility process has failed while unpacking an extension.
1427 // |error_message| is a user-displayable explanation of what went wrong. 1428 // |error_message| is a user-displayable explanation of what went wrong.
1428 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Failed, 1429 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Failed,
1429 std::string /* error_message, if any */) 1430 std::string /* error_message, if any */)
1430 1431
1431 IPC_END_MESSAGES(ViewHost) 1432 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/common/temp_scaffolding_stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698