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 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
661 | 661 |
662 // Sent by the renderer to log a DOM action to the extension activity log. | 662 // Sent by the renderer to log a DOM action to the extension activity log. |
663 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddDOMActionToActivityLog, | 663 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddDOMActionToActivityLog, |
664 std::string /* extension_id */, | 664 std::string /* extension_id */, |
665 ExtensionHostMsg_DOMAction_Params) | 665 ExtensionHostMsg_DOMAction_Params) |
666 | 666 |
667 // Notifies the browser process that a tab has started or stopped matching | 667 // Notifies the browser process that a tab has started or stopped matching |
668 // certain conditions. This message is sent in response to several events: | 668 // certain conditions. This message is sent in response to several events: |
669 // | 669 // |
670 // * ExtensionMsg_WatchPages was received, updating the set of conditions. | 670 // * ExtensionMsg_WatchPages was received, updating the set of conditions. |
671 // * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate. | 671 // * A new page is loaded. This will be sent after |
672 // Currently this only fires for the main frame. | 672 // FrameHostMsg_DidCommitProvisionalLoad. Currently this only fires for the |
| 673 // main frame. |
673 // * Something changed on an existing frame causing the set of matching searches | 674 // * Something changed on an existing frame causing the set of matching searches |
674 // to change. | 675 // to change. |
675 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, | 676 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, |
676 std::vector<std::string> /* Matching CSS selectors */) | 677 std::vector<std::string> /* Matching CSS selectors */) |
OLD | NEW |