| OLD | NEW |
| 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 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 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 IPC_ENUM_TRAITS(InstantSuggestionType) | 119 IPC_ENUM_TRAITS(InstantSuggestionType) |
| 120 IPC_ENUM_TRAITS(search_provider::OSDDType) | 120 IPC_ENUM_TRAITS(search_provider::OSDDType) |
| 121 IPC_ENUM_TRAITS(search_provider::InstallState) | 121 IPC_ENUM_TRAITS(search_provider::InstallState) |
| 122 IPC_ENUM_TRAITS(TranslateErrors::Type) | 122 IPC_ENUM_TRAITS(TranslateErrors::Type) |
| 123 IPC_ENUM_TRAITS(WebKit::WebConsoleMessage::Level) | 123 IPC_ENUM_TRAITS(WebKit::WebConsoleMessage::Level) |
| 124 | 124 |
| 125 IPC_STRUCT_TRAITS_BEGIN(ChromeViewHostMsg_GetPluginInfo_Status) | 125 IPC_STRUCT_TRAITS_BEGIN(ChromeViewHostMsg_GetPluginInfo_Status) |
| 126 IPC_STRUCT_TRAITS_MEMBER(value) | 126 IPC_STRUCT_TRAITS_MEMBER(value) |
| 127 IPC_STRUCT_TRAITS_END() | 127 IPC_STRUCT_TRAITS_END() |
| 128 | 128 |
| 129 // Output parameters for ChromeViewHostMsg_GetPluginInfo message. |
| 130 IPC_STRUCT_BEGIN(ChromeViewHostMsg_GetPluginInfo_Output) |
| 131 IPC_STRUCT_MEMBER(ChromeViewHostMsg_GetPluginInfo_Status, status) |
| 132 IPC_STRUCT_MEMBER(webkit::WebPluginInfo, plugin) |
| 133 IPC_STRUCT_MEMBER(std::string, actual_mime_type) |
| 134 IPC_STRUCT_MEMBER(std::string, group_identifier) |
| 135 IPC_STRUCT_MEMBER(string16, group_name) |
| 136 IPC_STRUCT_END() |
| 137 |
| 129 IPC_STRUCT_TRAITS_BEGIN(ContentSettingsPattern::PatternParts) | 138 IPC_STRUCT_TRAITS_BEGIN(ContentSettingsPattern::PatternParts) |
| 130 IPC_STRUCT_TRAITS_MEMBER(scheme) | 139 IPC_STRUCT_TRAITS_MEMBER(scheme) |
| 131 IPC_STRUCT_TRAITS_MEMBER(is_scheme_wildcard) | 140 IPC_STRUCT_TRAITS_MEMBER(is_scheme_wildcard) |
| 132 IPC_STRUCT_TRAITS_MEMBER(host) | 141 IPC_STRUCT_TRAITS_MEMBER(host) |
| 133 IPC_STRUCT_TRAITS_MEMBER(has_domain_wildcard) | 142 IPC_STRUCT_TRAITS_MEMBER(has_domain_wildcard) |
| 134 IPC_STRUCT_TRAITS_MEMBER(port) | 143 IPC_STRUCT_TRAITS_MEMBER(port) |
| 135 IPC_STRUCT_TRAITS_MEMBER(is_port_wildcard) | 144 IPC_STRUCT_TRAITS_MEMBER(is_port_wildcard) |
| 136 IPC_STRUCT_TRAITS_MEMBER(path) | 145 IPC_STRUCT_TRAITS_MEMBER(path) |
| 137 IPC_STRUCT_TRAITS_MEMBER(is_path_wildcard) | 146 IPC_STRUCT_TRAITS_MEMBER(is_path_wildcard) |
| 138 IPC_STRUCT_TRAITS_END() | 147 IPC_STRUCT_TRAITS_END() |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 int /* render_view_id */, | 435 int /* render_view_id */, |
| 427 GURL /* origin_url */, | 436 GURL /* origin_url */, |
| 428 GURL /* top origin url */, | 437 GURL /* top origin url */, |
| 429 string16 /* database name */, | 438 string16 /* database name */, |
| 430 bool /* allowed */) | 439 bool /* allowed */) |
| 431 | 440 |
| 432 // Return information about a plugin for the given URL and MIME type. | 441 // Return information about a plugin for the given URL and MIME type. |
| 433 // In contrast to ViewHostMsg_GetPluginInfo in content/, this IPC call knows | 442 // In contrast to ViewHostMsg_GetPluginInfo in content/, this IPC call knows |
| 434 // about specific reasons why a plug-in can't be used, for example because it's | 443 // about specific reasons why a plug-in can't be used, for example because it's |
| 435 // disabled. | 444 // disabled. |
| 436 IPC_SYNC_MESSAGE_CONTROL4_3(ChromeViewHostMsg_GetPluginInfo, | 445 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_GetPluginInfo, |
| 437 int /* render_view_id */, | 446 int /* render_view_id */, |
| 438 GURL /* url */, | 447 GURL /* url */, |
| 439 GURL /* top origin url */, | 448 GURL /* top origin url */, |
| 440 std::string /* mime_type */, | 449 std::string /* mime_type */, |
| 441 ChromeViewHostMsg_GetPluginInfo_Status /* status */, | 450 ChromeViewHostMsg_GetPluginInfo_Output /* output */) |
| 442 webkit::WebPluginInfo /* plugin */, | |
| 443 std::string /* actual_mime_type */) | |
| 444 | 451 |
| 445 #if defined(ENABLE_PLUGIN_INSTALLATION) | 452 #if defined(ENABLE_PLUGIN_INSTALLATION) |
| 446 // Tells the browser to search for a plug-in that can handle the given MIME | 453 // Tells the browser to search for a plug-in that can handle the given MIME |
| 447 // type. The result will be sent asynchronously to the routing ID | 454 // type. The result will be sent asynchronously to the routing ID |
| 448 // |placeholder_id|. | 455 // |placeholder_id|. |
| 449 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_FindMissingPlugin, | 456 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_FindMissingPlugin, |
| 450 int /* placeholder_id */, | 457 int /* placeholder_id */, |
| 451 std::string /* mime_type */) | 458 std::string /* mime_type */) |
| 452 | 459 |
| 453 // Notifies the browser that a missing plug-in placeholder has been removed, so | 460 // Notifies the browser that a missing plug-in placeholder has been removed, so |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 667 // previous SetCookie message to be processed. | 674 // previous SetCookie message to be processed. |
| 668 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 675 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
| 669 GURL /* url */, | 676 GURL /* url */, |
| 670 GURL /* first_party_for_cookies */, | 677 GURL /* first_party_for_cookies */, |
| 671 std::string /* cookies */) | 678 std::string /* cookies */) |
| 672 | 679 |
| 673 // Provide the browser process with current renderer framerate. | 680 // Provide the browser process with current renderer framerate. |
| 674 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 681 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
| 675 int /* routing id */, | 682 int /* routing id */, |
| 676 float /* frames per second */) | 683 float /* frames per second */) |
| OLD | NEW |