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

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

Issue 22577010: Printing: Add a basic printing mode without print preview and cloud print. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 years, 4 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
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/common_message_generator.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Multiply-included message file, so no include guard. 5 // Multiply-included message file, so no include guard.
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 // pass indeterminate value types by const object reference with our IPC macros, 260 // pass indeterminate value types by const object reference with our IPC macros,
261 // so we put the result Value into a ListValue. Handlers should examine the 261 // so we put the result Value into a ListValue. Handlers should examine the
262 // first (and only) element of the ListValue for the actual result. 262 // first (and only) element of the ListValue for the actual result.
263 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ParseJSON_Succeeded, 263 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ParseJSON_Succeeded,
264 base::ListValue) 264 base::ListValue)
265 265
266 // Reply when the utility process failed in parsing a JSON string. 266 // Reply when the utility process failed in parsing a JSON string.
267 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ParseJSON_Failed, 267 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ParseJSON_Failed,
268 std::string /* error message, if any*/) 268 std::string /* error message, if any*/)
269 269
270 #if defined(ENABLE_PRINTING) 270 #if defined(ENABLE_FULL_PRINTING)
271 // Reply when the utility process has succeeded in obtaining the printer 271 // Reply when the utility process has succeeded in obtaining the printer
272 // capabilities and defaults. 272 // capabilities and defaults.
273 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Succeeded, 273 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Succeeded,
274 std::string /* printer name */, 274 std::string /* printer name */,
275 printing::PrinterCapsAndDefaults) 275 printing::PrinterCapsAndDefaults)
276 #endif 276 #endif
277 277
278 // Reply when the utility process has failed to obtain the printer 278 // Reply when the utility process has failed to obtain the printer
279 // capabilities and defaults. 279 // capabilities and defaults.
280 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Failed, 280 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Failed,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_IndexPicasaAlbumsContents_Finished, 322 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_IndexPicasaAlbumsContents_Finished,
323 picasa::AlbumImagesMap /* albums_images */) 323 picasa::AlbumImagesMap /* albums_images */)
324 #endif // defined(OS_WIN) || defined(OS_MACOSX) 324 #endif // defined(OS_WIN) || defined(OS_MACOSX)
325 325
326 #if !defined(OS_ANDROID) && !defined(OS_IOS) 326 #if !defined(OS_ANDROID) && !defined(OS_IOS)
327 // Reply after checking the passed media file. A true result indicates that 327 // Reply after checking the passed media file. A true result indicates that
328 // the file appears to be a well formed media file. 328 // the file appears to be a well formed media file.
329 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_CheckMediaFile_Finished, 329 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_CheckMediaFile_Finished,
330 bool /* passed_checks */) 330 bool /* passed_checks */)
331 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) 331 #endif // !defined(OS_ANDROID) && !defined(OS_IOS)
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/common_message_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698