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 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
610 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddEventToActivityLog, | 610 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddEventToActivityLog, |
611 std::string /* extension_id */, | 611 std::string /* extension_id */, |
612 ExtensionHostMsg_APIActionOrEvent_Params) | 612 ExtensionHostMsg_APIActionOrEvent_Params) |
613 | 613 |
614 // Sent by the renderer to log a DOM action to the extension activity log. | 614 // Sent by the renderer to log a DOM action to the extension activity log. |
615 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddDOMActionToActivityLog, | 615 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddDOMActionToActivityLog, |
616 std::string /* extension_id */, | 616 std::string /* extension_id */, |
617 ExtensionHostMsg_DOMAction_Params) | 617 ExtensionHostMsg_DOMAction_Params) |
618 | 618 |
619 // Notifies the browser process that a tab has started or stopped matching | 619 // Notifies the browser process that a tab has started or stopped matching |
620 // certain conditions. This message is sent in response to several events: | 620 // certain conditions. This message is sent in response to several events: |
621 // | 621 // |
622 // * ExtensionMsg_WatchPages was received, updating the set of conditions. | 622 // * ExtensionMsg_WatchPages was received, updating the set of conditions. |
623 // * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate. | 623 // * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate. |
624 // Currently this only fires for the main frame. | 624 // Currently this only fires for the main frame. |
625 // * Something changed on an existing frame causing the set of matching searches | 625 // * Something changed on an existing frame causing the set of matching searches |
626 // to change. | 626 // to change. |
627 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, | 627 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, |
628 std::vector<std::string> /* Matching CSS selectors */) | 628 std::vector<std::string> /* Matching CSS selectors */) |
OLD | NEW |