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

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

Issue 6713084: Move the rest of the renderer->browser messages that belong in content. Also do a bunch of cleanup: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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/safebrowsing_messages.h ('k') | chrome/common/webkit_param_traits.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/common_param_traits.h"
15 #include "chrome/common/extensions/update_manifest.h" 14 #include "chrome/common/extensions/update_manifest.h"
16 #include "content/common/common_param_traits.h" 15 #include "content/common/common_param_traits.h"
17 #include "content/common/indexed_db_key.h" 16 #include "content/common/indexed_db_key.h"
18 #include "content/common/indexed_db_param_traits.h" 17 #include "content/common/indexed_db_param_traits.h"
19 #include "content/common/serialized_script_value.h" 18 #include "content/common/serialized_script_value.h"
20 #include "ipc/ipc_message_macros.h" 19 #include "ipc/ipc_message_macros.h"
21 #include "ipc/ipc_message_utils.h" 20 #include "ipc/ipc_message_utils.h"
22 #include "printing/backend/print_backend.h" 21 #include "printing/backend/print_backend.h"
23 #include "printing/page_range.h" 22 #include "printing/page_range.h"
24 #include "third_party/skia/include/core/SkBitmap.h" 23 #include "third_party/skia/include/core/SkBitmap.h"
25 #include "ui/gfx/rect.h" 24 #include "ui/gfx/rect.h"
26 25
27 #define IPC_MESSAGE_START UtilityMsgStart 26 #define IPC_MESSAGE_START UtilityMsgStart
28 27
29 // Singly-included secton, not yet converted 28 IPC_STRUCT_TRAITS_BEGIN(printing::PageRange)
30 #ifndef CHROME_COMMON_UTILITY_MESSAGES_H_ 29 IPC_STRUCT_TRAITS_MEMBER(from)
31 #define CHROME_COMMON_UTILITY_MESSAGES_H_ 30 IPC_STRUCT_TRAITS_MEMBER(to)
31 IPC_STRUCT_TRAITS_END()
32 32
33 class FilePath; 33 IPC_STRUCT_TRAITS_BEGIN(printing::PrinterCapsAndDefaults)
34 class IndexedDBKey; 34 IPC_STRUCT_TRAITS_MEMBER(printer_capabilities)
35 class SerializedScriptValue; 35 IPC_STRUCT_TRAITS_MEMBER(caps_mime_type)
36 class SkBitmap; 36 IPC_STRUCT_TRAITS_MEMBER(printer_defaults)
37 IPC_STRUCT_TRAITS_MEMBER(defaults_mime_type)
38 IPC_STRUCT_TRAITS_END()
37 39
38 #endif // CHROME_COMMON_UTILITY_MESSAGES_H_
39
40 // Traits for UpdateManifest::Result.
41 IPC_STRUCT_TRAITS_BEGIN(UpdateManifest::Result) 40 IPC_STRUCT_TRAITS_BEGIN(UpdateManifest::Result)
42 IPC_STRUCT_TRAITS_MEMBER(extension_id) 41 IPC_STRUCT_TRAITS_MEMBER(extension_id)
43 IPC_STRUCT_TRAITS_MEMBER(version) 42 IPC_STRUCT_TRAITS_MEMBER(version)
44 IPC_STRUCT_TRAITS_MEMBER(browser_min_version) 43 IPC_STRUCT_TRAITS_MEMBER(browser_min_version)
45 IPC_STRUCT_TRAITS_MEMBER(package_hash) 44 IPC_STRUCT_TRAITS_MEMBER(package_hash)
46 IPC_STRUCT_TRAITS_MEMBER(crx_url) 45 IPC_STRUCT_TRAITS_MEMBER(crx_url)
47 IPC_STRUCT_TRAITS_END() 46 IPC_STRUCT_TRAITS_END()
48 47
49 // Traits for UpdateManifest::Results
50 IPC_STRUCT_TRAITS_BEGIN(UpdateManifest::Results) 48 IPC_STRUCT_TRAITS_BEGIN(UpdateManifest::Results)
51 IPC_STRUCT_TRAITS_MEMBER(list) 49 IPC_STRUCT_TRAITS_MEMBER(list)
52 IPC_STRUCT_TRAITS_MEMBER(daystart_elapsed_seconds) 50 IPC_STRUCT_TRAITS_MEMBER(daystart_elapsed_seconds)
53 IPC_STRUCT_TRAITS_END() 51 IPC_STRUCT_TRAITS_END()
54 52
55 //------------------------------------------------------------------------------ 53 //------------------------------------------------------------------------------
56 // Utility process messages: 54 // Utility process messages:
57 // These are messages from the browser to the utility process. 55 // These are messages from the browser to the utility process.
58 // Tell the utility process to unpack the given extension file in its 56 // Tell the utility process to unpack the given extension file in its
59 // directory and verify that it is valid. 57 // directory and verify that it is valid.
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // capabilities and defaults. 182 // capabilities and defaults.
185 IPC_MESSAGE_CONTROL2(UtilityHostMsg_GetPrinterCapsAndDefaults_Succeeded, 183 IPC_MESSAGE_CONTROL2(UtilityHostMsg_GetPrinterCapsAndDefaults_Succeeded,
186 std::string /* printer name */, 184 std::string /* printer name */,
187 printing::PrinterCapsAndDefaults) 185 printing::PrinterCapsAndDefaults)
188 186
189 // Reply when the utility process has failed to obtain the printer 187 // Reply when the utility process has failed to obtain the printer
190 // capabilities and defaults. 188 // capabilities and defaults.
191 IPC_MESSAGE_CONTROL1(UtilityHostMsg_GetPrinterCapsAndDefaults_Failed, 189 IPC_MESSAGE_CONTROL1(UtilityHostMsg_GetPrinterCapsAndDefaults_Failed,
192 std::string /* printer name */) 190 std::string /* printer name */)
193 191
OLDNEW
« no previous file with comments | « chrome/common/safebrowsing_messages.h ('k') | chrome/common/webkit_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698