OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
493 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_Request, | 493 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_Request, |
494 ExtensionHostMsg_Request_Params) | 494 ExtensionHostMsg_Request_Params) |
495 | 495 |
496 // A renderer sends this message when an extension process starts an API | 496 // A renderer sends this message when an extension process starts an API |
497 // request. The browser will always respond with a ExtensionMsg_Response. | 497 // request. The browser will always respond with a ExtensionMsg_Response. |
498 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_RequestForIOThread, | 498 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_RequestForIOThread, |
499 int /* routing_id */, | 499 int /* routing_id */, |
500 ExtensionHostMsg_Request_Params) | 500 ExtensionHostMsg_Request_Params) |
501 | 501 |
502 // Notify the browser that the given extension added a listener to an event. | 502 // Notify the browser that the given extension added a listener to an event. |
503 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddListener, | 503 IPC_MESSAGE_CONTROL3(ExtensionHostMsg_AddListener, |
504 std::string /* extension_id */, | 504 std::string /* extension_id */, |
| 505 GURL /* listener_url */, |
505 std::string /* name */) | 506 std::string /* name */) |
506 | 507 |
507 // Notify the browser that the given extension removed a listener from an | 508 // Notify the browser that the given extension removed a listener from an |
508 // event. | 509 // event. |
509 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_RemoveListener, | 510 IPC_MESSAGE_CONTROL3(ExtensionHostMsg_RemoveListener, |
510 std::string /* extension_id */, | 511 std::string /* extension_id */, |
| 512 GURL /* listener_url */, |
511 std::string /* name */) | 513 std::string /* name */) |
512 | 514 |
513 // Notify the browser that the given extension added a listener to an event from | 515 // Notify the browser that the given extension added a listener to an event from |
514 // a lazy background page. | 516 // a lazy background page. |
515 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddLazyListener, | 517 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddLazyListener, |
516 std::string /* extension_id */, | 518 std::string /* extension_id */, |
517 std::string /* name */) | 519 std::string /* name */) |
518 | 520 |
519 // Notify the browser that the given extension is no longer interested in | 521 // Notify the browser that the given extension is no longer interested in |
520 // receiving the given event from a lazy background page. | 522 // receiving the given event from a lazy background page. |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
677 // FrameHostMsg_DidCommitProvisionalLoad. Currently this only fires for the | 679 // FrameHostMsg_DidCommitProvisionalLoad. Currently this only fires for the |
678 // main frame. | 680 // main frame. |
679 // * Something changed on an existing frame causing the set of matching searches | 681 // * Something changed on an existing frame causing the set of matching searches |
680 // to change. | 682 // to change. |
681 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, | 683 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, |
682 std::vector<std::string> /* Matching CSS selectors */) | 684 std::vector<std::string> /* Matching CSS selectors */) |
683 | 685 |
684 // Sent by the renderer when it has received a Blob handle from the browser. | 686 // Sent by the renderer when it has received a Blob handle from the browser. |
685 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_TransferBlobsAck, | 687 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_TransferBlobsAck, |
686 std::vector<std::string> /* blob_uuids */) | 688 std::vector<std::string> /* blob_uuids */) |
OLD | NEW |