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 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 // Notifies the browser process that a tab has started or stopped matching | 639 // Notifies the browser process that a tab has started or stopped matching |
640 // certain conditions. This message is sent in response to several events: | 640 // certain conditions. This message is sent in response to several events: |
641 // | 641 // |
642 // * ExtensionMsg_WatchPages was received, updating the set of conditions. | 642 // * ExtensionMsg_WatchPages was received, updating the set of conditions. |
643 // * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate. | 643 // * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate. |
644 // Currently this only fires for the main frame. | 644 // Currently this only fires for the main frame. |
645 // * Something changed on an existing frame causing the set of matching searches | 645 // * Something changed on an existing frame causing the set of matching searches |
646 // to change. | 646 // to change. |
647 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, | 647 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, |
648 std::vector<std::string> /* Matching CSS selectors */) | 648 std::vector<std::string> /* Matching CSS selectors */) |
| 649 |
| 650 // Instructs the browser to redirect a URL to an extension that has registered |
| 651 // itself for handling a matching URL pattern. |
| 652 IPC_MESSAGE_ROUTED2(ExtensionHostMsg_RedirectUrl, |
| 653 GURL /* URL to redirect */, |
| 654 GURL /* referrer URL */) |
OLD | NEW |