| 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 <stdint.h> | 6 #include <stdint.h> |
| 7 #include <map> | 7 #include <map> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 // Tells the renderer to set its maximum cache size to the supplied value. | 227 // Tells the renderer to set its maximum cache size to the supplied value. |
| 228 IPC_MESSAGE_CONTROL3(ChromeViewMsg_SetCacheCapacities, | 228 IPC_MESSAGE_CONTROL3(ChromeViewMsg_SetCacheCapacities, |
| 229 size_t /* min_dead_capacity */, | 229 size_t /* min_dead_capacity */, |
| 230 size_t /* max_dead_capacity */, | 230 size_t /* max_dead_capacity */, |
| 231 size_t /* capacity */) | 231 size_t /* capacity */) |
| 232 | 232 |
| 233 // Tells the renderer to clear the cache. | 233 // Tells the renderer to clear the cache. |
| 234 IPC_MESSAGE_CONTROL1(ChromeViewMsg_ClearCache, | 234 IPC_MESSAGE_CONTROL1(ChromeViewMsg_ClearCache, |
| 235 bool /* on_navigation */) | 235 bool /* on_navigation */) |
| 236 | 236 |
| 237 // Set the top-level frame to the provided name. |
| 238 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetName, |
| 239 std::string /* frame_name */) |
| 240 |
| 237 // For WebUI testing, this message requests JavaScript to be executed at a time | 241 // For WebUI testing, this message requests JavaScript to be executed at a time |
| 238 // which is late enough to not be thrown out, and early enough to be before | 242 // which is late enough to not be thrown out, and early enough to be before |
| 239 // onload events are fired. | 243 // onload events are fired. |
| 240 IPC_MESSAGE_ROUTED1(ChromeViewMsg_WebUIJavaScript, | 244 IPC_MESSAGE_ROUTED1(ChromeViewMsg_WebUIJavaScript, |
| 241 base::string16 /* javascript */) | 245 base::string16 /* javascript */) |
| 242 | 246 |
| 243 // Set the content setting rules stored by the renderer. | 247 // Set the content setting rules stored by the renderer. |
| 244 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetContentSettingRules, | 248 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetContentSettingRules, |
| 245 RendererContentSettingRules /* rules */) | 249 RendererContentSettingRules /* rules */) |
| 246 | 250 |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 // When the returned *|is_registered| is true, |additional_param_names| and | 463 // When the returned *|is_registered| is true, |additional_param_names| and |
| 460 // |additional_param_values| contain the name-value pairs, if any, specified | 464 // |additional_param_values| contain the name-value pairs, if any, specified |
| 461 // for the *first* plugin found that is registered for |mime_type|. | 465 // for the *first* plugin found that is registered for |mime_type|. |
| 462 IPC_SYNC_MESSAGE_CONTROL1_3( | 466 IPC_SYNC_MESSAGE_CONTROL1_3( |
| 463 ChromeViewHostMsg_IsInternalPluginRegisteredForMimeType, | 467 ChromeViewHostMsg_IsInternalPluginRegisteredForMimeType, |
| 464 std::string /* mime_type */, | 468 std::string /* mime_type */, |
| 465 bool /* registered */, | 469 bool /* registered */, |
| 466 std::vector<base::string16> /* additional_param_names */, | 470 std::vector<base::string16> /* additional_param_names */, |
| 467 std::vector<base::string16> /* additional_param_values */) | 471 std::vector<base::string16> /* additional_param_values */) |
| 468 | 472 |
| 473 // Informs the browser of updated frame names. |
| 474 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_UpdateFrameName, |
| 475 bool /* is_top_level */, |
| 476 std::string /* name */) |
| 477 |
| 469 #if defined(ENABLE_PLUGIN_INSTALLATION) | 478 #if defined(ENABLE_PLUGIN_INSTALLATION) |
| 470 // Tells the browser to search for a plug-in that can handle the given MIME | 479 // Tells the browser to search for a plug-in that can handle the given MIME |
| 471 // type. The result will be sent asynchronously to the routing ID | 480 // type. The result will be sent asynchronously to the routing ID |
| 472 // |placeholder_id|. | 481 // |placeholder_id|. |
| 473 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_FindMissingPlugin, | 482 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_FindMissingPlugin, |
| 474 int /* placeholder_id */, | 483 int /* placeholder_id */, |
| 475 std::string /* mime_type */) | 484 std::string /* mime_type */) |
| 476 | 485 |
| 477 // Notifies the browser that a missing plug-in placeholder has been removed, so | 486 // Notifies the browser that a missing plug-in placeholder has been removed, so |
| 478 // the corresponding PluginPlaceholderHost can be deleted. | 487 // the corresponding PluginPlaceholderHost can be deleted. |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 710 // WebKit. | 719 // WebKit. |
| 711 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, | 720 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, |
| 712 base::string16 /* message */, | 721 base::string16 /* message */, |
| 713 base::string16 /* source */, | 722 base::string16 /* source */, |
| 714 extensions::StackTrace /* stack trace */, | 723 extensions::StackTrace /* stack trace */, |
| 715 int32 /* severity level */) | 724 int32 /* severity level */) |
| 716 | 725 |
| 717 // Sent by the renderer to check if crash reporting is enabled. | 726 // Sent by the renderer to check if crash reporting is enabled. |
| 718 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, | 727 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, |
| 719 bool /* enabled */) | 728 bool /* enabled */) |
| OLD | NEW |