| 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 file, no traditional include guard. | 5 // Multiply-included file, no traditional include guard. |
| 6 #include <map> | 6 #include <map> |
| 7 #include <set> | 7 #include <set> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 // TODO(erg): This list has been temporarily annotated by erg while doing work | 11 // TODO(erg): This list has been temporarily annotated by erg while doing work |
| 12 // on which headers to pull out. | 12 // on which headers to pull out. |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 #include "base/file_path.h" | 14 #include "base/file_path.h" |
| 15 #include "base/process.h" | 15 #include "base/process.h" |
| 16 #include "base/shared_memory.h" | 16 #include "base/shared_memory.h" |
| 17 #include "base/string16.h" | 17 #include "base/string16.h" |
| 18 #include "base/values.h" | 18 #include "base/values.h" |
| 19 #include "build/build_config.h" | 19 #include "build/build_config.h" |
| 20 #include "chrome/common/content_settings.h" | 20 #include "chrome/common/common_param_traits.h" |
| 21 #include "chrome/common/icon_messages.h" | 21 #include "chrome/common/icon_messages.h" |
| 22 #include "chrome/common/instant_types.h" | 22 #include "chrome/common/instant_types.h" |
| 23 #include "chrome/common/nacl_types.h" | 23 #include "chrome/common/nacl_types.h" |
| 24 #include "chrome/common/prerender_constants.h" | 24 #include "chrome/common/prerender_constants.h" |
| 25 #include "chrome/common/search_provider.h" | 25 #include "chrome/common/search_provider.h" |
| 26 #include "chrome/common/thumbnail_score.h" | 26 #include "chrome/common/thumbnail_score.h" |
| 27 #include "chrome/common/translate_errors.h" | 27 #include "chrome/common/translate_errors.h" |
| 28 #include "chrome/common/view_types.h" | 28 #include "chrome/common/view_types.h" |
| 29 #include "content/common/common_param_traits.h" | 29 #include "content/common/common_param_traits.h" |
| 30 #include "ipc/ipc_message_macros.h" | 30 #include "ipc/ipc_message_macros.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 static bool Read(const Message* m, void** iter, param_type* r); | 92 static bool Read(const Message* m, void** iter, param_type* r); |
| 93 static void Log(const param_type& p, std::string* l); | 93 static void Log(const param_type& p, std::string* l); |
| 94 }; | 94 }; |
| 95 | 95 |
| 96 } // namespace IPC | 96 } // namespace IPC |
| 97 | 97 |
| 98 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ | 98 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ |
| 99 | 99 |
| 100 #define IPC_MESSAGE_START ChromeMsgStart | 100 #define IPC_MESSAGE_START ChromeMsgStart |
| 101 | 101 |
| 102 IPC_ENUM_TRAITS(ContentSetting) | |
| 103 IPC_ENUM_TRAITS(ContentSettingsType) | |
| 104 IPC_ENUM_TRAITS(InstantCompleteBehavior) | 102 IPC_ENUM_TRAITS(InstantCompleteBehavior) |
| 105 IPC_ENUM_TRAITS(prerender::PrerenderCancellationReason) | 103 IPC_ENUM_TRAITS(prerender::PrerenderCancellationReason) |
| 106 IPC_ENUM_TRAITS(search_provider::OSDDType) | 104 IPC_ENUM_TRAITS(search_provider::OSDDType) |
| 107 IPC_ENUM_TRAITS(search_provider::InstallState) | 105 IPC_ENUM_TRAITS(search_provider::InstallState) |
| 108 IPC_ENUM_TRAITS(TranslateErrors::Type) | 106 IPC_ENUM_TRAITS(TranslateErrors::Type) |
| 109 IPC_ENUM_TRAITS(ViewType::Type) | 107 IPC_ENUM_TRAITS(ViewType::Type) |
| 110 IPC_ENUM_TRAITS(WebKit::WebConsoleMessage::Level) | 108 IPC_ENUM_TRAITS(WebKit::WebConsoleMessage::Level) |
| 111 | 109 |
| 112 IPC_STRUCT_TRAITS_BEGIN(ThumbnailScore) | 110 IPC_STRUCT_TRAITS_BEGIN(ThumbnailScore) |
| 113 IPC_STRUCT_TRAITS_MEMBER(boring_score) | 111 IPC_STRUCT_TRAITS_MEMBER(boring_score) |
| (...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 // while performing stress testing. | 512 // while performing stress testing. |
| 515 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 513 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
| 516 int /* cmd */, | 514 int /* cmd */, |
| 517 int /* param */) | 515 int /* param */) |
| 518 | 516 |
| 519 // Register a new handler for URL requests with the given scheme. | 517 // Register a new handler for URL requests with the given scheme. |
| 520 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, | 518 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, |
| 521 std::string /* scheme */, | 519 std::string /* scheme */, |
| 522 GURL /* url */, | 520 GURL /* url */, |
| 523 string16 /* title */) | 521 string16 /* title */) |
| OLD | NEW |