| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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" |
| 11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
| 12 #include "base/platform_file.h" | 12 #include "base/platform_file.h" |
| 13 #include "base/values.h" | 13 #include "base/values.h" |
| 14 #include "chrome/common/extensions/update_manifest.h" | 14 #include "chrome/common/extensions/update_manifest.h" |
| 15 #include "content/common/common_param_traits.h" | |
| 16 #include "content/common/serialized_script_value.h" | 15 #include "content/common/serialized_script_value.h" |
| 16 #include "content/public/common/common_param_traits.h" |
| 17 #include "ipc/ipc_message_macros.h" | 17 #include "ipc/ipc_message_macros.h" |
| 18 #include "printing/backend/print_backend.h" | 18 #include "printing/backend/print_backend.h" |
| 19 #include "printing/page_range.h" | 19 #include "printing/page_range.h" |
| 20 #include "printing/pdf_render_settings.h" | 20 #include "printing/pdf_render_settings.h" |
| 21 #include "third_party/skia/include/core/SkBitmap.h" | 21 #include "third_party/skia/include/core/SkBitmap.h" |
| 22 #include "ui/gfx/rect.h" | 22 #include "ui/gfx/rect.h" |
| 23 | 23 |
| 24 #define IPC_MESSAGE_START ChromeUtilityMsgStart | 24 #define IPC_MESSAGE_START ChromeUtilityMsgStart |
| 25 | 25 |
| 26 IPC_STRUCT_TRAITS_BEGIN(printing::PageRange) | 26 IPC_STRUCT_TRAITS_BEGIN(printing::PageRange) |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 // Reply when the utility process has succeeded in obtaining the printer | 159 // Reply when the utility process has succeeded in obtaining the printer |
| 160 // capabilities and defaults. | 160 // capabilities and defaults. |
| 161 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Succeeded, | 161 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Succeeded, |
| 162 std::string /* printer name */, | 162 std::string /* printer name */, |
| 163 printing::PrinterCapsAndDefaults) | 163 printing::PrinterCapsAndDefaults) |
| 164 | 164 |
| 165 // Reply when the utility process has failed to obtain the printer | 165 // Reply when the utility process has failed to obtain the printer |
| 166 // capabilities and defaults. | 166 // capabilities and defaults. |
| 167 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Failed, | 167 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Failed, |
| 168 std::string /* printer name */) | 168 std::string /* printer name */) |
| OLD | NEW |