| 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 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 584 IPC_MESSAGE_ROUTED2(ViewMsg_ExtensionMessageInvoke, | 584 IPC_MESSAGE_ROUTED2(ViewMsg_ExtensionMessageInvoke, |
| 585 std::string /* function_name */, | 585 std::string /* function_name */, |
| 586 ListValue /* args */) | 586 ListValue /* args */) |
| 587 | 587 |
| 588 // Tell the renderer process all known extension function names. | 588 // Tell the renderer process all known extension function names. |
| 589 IPC_MESSAGE_CONTROL1(ViewMsg_Extension_SetFunctionNames, | 589 IPC_MESSAGE_CONTROL1(ViewMsg_Extension_SetFunctionNames, |
| 590 std::vector<std::string>) | 590 std::vector<std::string>) |
| 591 | 591 |
| 592 // Tell the renderer process which permissions the given extension has. See | 592 // Tell the renderer process which permissions the given extension has. See |
| 593 // Extension::Permissions for which elements correspond to which permissions. | 593 // Extension::Permissions for which elements correspond to which permissions. |
| 594 IPC_MESSAGE_CONTROL2(ViewMsg_Extension_SetPermissions, | 594 IPC_MESSAGE_CONTROL2(ViewMsg_Extension_SetAPIPermissions, |
| 595 std::string /* extension_id */, | 595 std::string /* extension_id */, |
| 596 std::vector<std::string> /* permissions */) | 596 std::vector<std::string> /* permissions */) |
| 597 | 597 |
| 598 // Tell the renderer process which host permissions the given extension has. |
| 599 IPC_MESSAGE_CONTROL2( |
| 600 ViewMsg_Extension_SetHostPermissions, |
| 601 GURL /* source extension's origin */, |
| 602 std::vector<URLPattern> /* URLPatterns the extension can access */) |
| 603 |
| 598 // Tell the renderer process all known page action ids for a particular | 604 // Tell the renderer process all known page action ids for a particular |
| 599 // extension. | 605 // extension. |
| 600 IPC_MESSAGE_CONTROL2(ViewMsg_Extension_UpdatePageActions, | 606 IPC_MESSAGE_CONTROL2(ViewMsg_Extension_UpdatePageActions, |
| 601 std::string /* extension_id */, | 607 std::string /* extension_id */, |
| 602 std::vector<std::string> /* page_action_ids */) | 608 std::vector<std::string> /* page_action_ids */) |
| 603 | 609 |
| 604 // Changes the text direction of the currently selected input field (if any). | 610 // Changes the text direction of the currently selected input field (if any). |
| 605 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, | 611 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, |
| 606 WebKit::WebTextDirection /* direction */) | 612 WebKit::WebTextDirection /* direction */) |
| 607 | 613 |
| (...skipping 1052 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1660 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, | 1666 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, |
| 1661 FilePath /* the name of the file */, | 1667 FilePath /* the name of the file */, |
| 1662 int32 /* a unique message ID */) | 1668 int32 /* a unique message ID */) |
| 1663 | 1669 |
| 1664 // Asks the browser process to return the size of a DB file | 1670 // Asks the browser process to return the size of a DB file |
| 1665 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, | 1671 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, |
| 1666 FilePath /* the name of the file */, | 1672 FilePath /* the name of the file */, |
| 1667 int32 /* a unique message ID */) | 1673 int32 /* a unique message ID */) |
| 1668 | 1674 |
| 1669 IPC_END_MESSAGES(ViewHost) | 1675 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |