| 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 // IPC messages for extensions. | 5 // IPC messages for extensions. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 597 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_ContentScriptsExecuting, | 597 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_ContentScriptsExecuting, |
| 598 ExecutingScriptsMap, | 598 ExecutingScriptsMap, |
| 599 int32 /* page_id of the _topmost_ frame */, | 599 int32 /* page_id of the _topmost_ frame */, |
| 600 GURL /* url of the _topmost_ frame */) | 600 GURL /* url of the _topmost_ frame */) |
| 601 | 601 |
| 602 IPC_MESSAGE_ROUTED2(ExtensionHostMsg_DidGetApplicationInfo, | 602 IPC_MESSAGE_ROUTED2(ExtensionHostMsg_DidGetApplicationInfo, |
| 603 int32 /* page_id */, | 603 int32 /* page_id */, |
| 604 WebApplicationInfo) | 604 WebApplicationInfo) |
| 605 | 605 |
| 606 // Sent by the renderer to implement chrome.webstore.install(). | 606 // Sent by the renderer to implement chrome.webstore.install(). |
| 607 IPC_MESSAGE_ROUTED4(ExtensionHostMsg_InlineWebstoreInstall, | 607 IPC_MESSAGE_ROUTED5(ExtensionHostMsg_InlineWebstoreInstall, |
| 608 int32 /* install id */, | 608 int32 /* install id */, |
| 609 int32 /* return route id */, | 609 int32 /* return route id */, |
| 610 std::string /* Web Store item ID */, | 610 std::string /* Web Store item ID */, |
| 611 GURL /* requestor URL */) | 611 GURL /* requestor URL */, |
| 612 int /* listeners_mask */) |
| 613 |
| 614 // Sent to the renderer if install stage updates were requested for an inline |
| 615 // install. |
| 616 IPC_MESSAGE_ROUTED1(ExtensionMsg_InlineInstallStageChanged, |
| 617 int /* stage, from api::webstore::InstallStage */) |
| 618 |
| 619 // Sent to the renderer if download progress updates were requested for an |
| 620 // inline install. |
| 621 IPC_MESSAGE_ROUTED1(ExtensionMsg_InlineInstallDownloadProgress, |
| 622 int /* percent_downloaded */) |
| 612 | 623 |
| 613 // Sent by the renderer when a web page is checking if its app is installed. | 624 // Sent by the renderer when a web page is checking if its app is installed. |
| 614 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_GetAppInstallState, | 625 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_GetAppInstallState, |
| 615 GURL /* requestor_url */, | 626 GURL /* requestor_url */, |
| 616 int32 /* return_route_id */, | 627 int32 /* return_route_id */, |
| 617 int32 /* callback_id */) | 628 int32 /* callback_id */) |
| 618 | 629 |
| 619 // Optional Ack message sent to the browser to notify that the response to a | 630 // Optional Ack message sent to the browser to notify that the response to a |
| 620 // function has been processed. | 631 // function has been processed. |
| 621 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_ResponseAck, | 632 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_ResponseAck, |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 // certain conditions. This message is sent in response to several events: | 680 // certain conditions. This message is sent in response to several events: |
| 670 // | 681 // |
| 671 // * ExtensionMsg_WatchPages was received, updating the set of conditions. | 682 // * ExtensionMsg_WatchPages was received, updating the set of conditions. |
| 672 // * A new page is loaded. This will be sent after | 683 // * A new page is loaded. This will be sent after |
| 673 // FrameHostMsg_DidCommitProvisionalLoad. Currently this only fires for the | 684 // FrameHostMsg_DidCommitProvisionalLoad. Currently this only fires for the |
| 674 // main frame. | 685 // main frame. |
| 675 // * Something changed on an existing frame causing the set of matching searches | 686 // * Something changed on an existing frame causing the set of matching searches |
| 676 // to change. | 687 // to change. |
| 677 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, | 688 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, |
| 678 std::vector<std::string> /* Matching CSS selectors */) | 689 std::vector<std::string> /* Matching CSS selectors */) |
| OLD | NEW |