OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
6 // header guard. | 6 // header guard. |
7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 1379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1390 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup, | 1390 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup, |
1391 ViewHostMsg_ShowPopup_Params) | 1391 ViewHostMsg_ShowPopup_Params) |
1392 | 1392 |
1393 // Sent as a result of a focus change in the renderer (if accessibility is | 1393 // Sent as a result of a focus change in the renderer (if accessibility is |
1394 // enabled), to notify the browser side that its accessibility focus needs to | 1394 // enabled), to notify the browser side that its accessibility focus needs to |
1395 // change as well. Takes the id of the accessibility object that now has | 1395 // change as well. Takes the id of the accessibility object that now has |
1396 // focus. | 1396 // focus. |
1397 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityFocusChange, | 1397 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityFocusChange, |
1398 int /* accessibility object id */) | 1398 int /* accessibility object id */) |
1399 | 1399 |
| 1400 // Message sent from the renderer to the browser to request that the browser |
| 1401 // close all idle sockets. Used for debugging/testing. |
| 1402 IPC_MESSAGE_CONTROL0(ViewHostMsg_CloseIdleConnections) |
| 1403 |
| 1404 // Message sent from the renderer to the browser to request that the browser |
| 1405 // close all idle sockets. Used for debugging/testing. |
| 1406 IPC_MESSAGE_CONTROL1(ViewHostMsg_SetCacheMode, |
| 1407 bool /* enabled */) |
| 1408 |
1400 //--------------------------------------------------------------------------- | 1409 //--------------------------------------------------------------------------- |
1401 // Utility process host messages: | 1410 // Utility process host messages: |
1402 // These are messages from the utility process to the browser. They're here | 1411 // These are messages from the utility process to the browser. They're here |
1403 // because we ran out of spare message types. | 1412 // because we ran out of spare message types. |
1404 | 1413 |
1405 // Reply when the utility process is done unpacking an extension. |manifest| | 1414 // Reply when the utility process is done unpacking an extension. |manifest| |
1406 // is the parsed manifest.json file. |images| is a list of decoded images | 1415 // is the parsed manifest.json file. |images| is a list of decoded images |
1407 // and the path to where they should be written to, relative to the | 1416 // and the path to where they should be written to, relative to the |
1408 // manifest file. | 1417 // manifest file. |
1409 IPC_MESSAGE_CONTROL2(UtilityHostMsg_UnpackExtension_Succeeded, | 1418 IPC_MESSAGE_CONTROL2(UtilityHostMsg_UnpackExtension_Succeeded, |
1410 DictionaryValue /* manifest */, | 1419 DictionaryValue /* manifest */, |
1411 std::vector<UnpackExtension_ImagePathPair> /* images */) | 1420 std::vector<UnpackExtension_ImagePathPair> /* images */) |
1412 | 1421 |
1413 // Reply when the utility process has failed while unpacking an extension. | 1422 // Reply when the utility process has failed while unpacking an extension. |
1414 // |error_message| is a user-displayable explanation of what went wrong. | 1423 // |error_message| is a user-displayable explanation of what went wrong. |
1415 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Failed, | 1424 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Failed, |
1416 std::string /* error_message, if any */) | 1425 std::string /* error_message, if any */) |
| 1426 |
1417 IPC_END_MESSAGES(ViewHost) | 1427 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |