Chromium Code Reviews| 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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 594 int /* unique_id */) | 594 int /* unique_id */) |
| 595 | 595 |
| 596 // Resumes resource requests for a newly created app window. | 596 // Resumes resource requests for a newly created app window. |
| 597 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_ResumeRequests, int /* route_id */) | 597 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_ResumeRequests, int /* route_id */) |
| 598 | 598 |
| 599 // Sent by the renderer when the draggable regions are updated. | 599 // Sent by the renderer when the draggable regions are updated. |
| 600 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_UpdateDraggableRegions, | 600 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_UpdateDraggableRegions, |
| 601 std::vector<extensions::DraggableRegion> /* regions */) | 601 std::vector<extensions::DraggableRegion> /* regions */) |
| 602 | 602 |
| 603 // Sent by the renderer to log an API action to the extension activity log. | 603 // Sent by the renderer to log an API action to the extension activity log. |
| 604 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddAPIActionToActivityLog, | 604 IPC_MESSAGE_CONTROL3(ExtensionHostMsg_AddAPIActionToActivityLog, |
| 605 std::string /* type of API call */, | |
|
palmer
2013/04/10 23:52:48
Definitely preferable to send a more primitive typ
| |
| 605 std::string /* extension_id */, | 606 std::string /* extension_id */, |
| 606 ExtensionHostMsg_APIAction_Params) | 607 ExtensionHostMsg_APIAction_Params) |
| 607 | 608 |
| 608 // Sent by the renderer to log a DOM action to the extension activity log. | 609 // Sent by the renderer to log a DOM action to the extension activity log. |
| 609 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddDOMActionToActivityLog, | 610 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddDOMActionToActivityLog, |
| 610 std::string /* extension_id */, | 611 std::string /* extension_id */, |
| 611 ExtensionHostMsg_DOMAction_Params) | 612 ExtensionHostMsg_DOMAction_Params) |
| 612 | 613 |
| 613 // Notifies the browser process that a tab has started or stopped matching | 614 // Notifies the browser process that a tab has started or stopped matching |
| 614 // certain conditions. This message is sent in response to several events: | 615 // certain conditions. This message is sent in response to several events: |
| 615 // | 616 // |
| 616 // * ExtensionMsg_WatchPages was received, updating the set of conditions. | 617 // * ExtensionMsg_WatchPages was received, updating the set of conditions. |
| 617 // * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate. | 618 // * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate. |
| 618 // Currently this only fires for the main frame. | 619 // Currently this only fires for the main frame. |
| 619 // * Something changed on an existing frame causing the set of matching searches | 620 // * Something changed on an existing frame causing the set of matching searches |
| 620 // to change. | 621 // to change. |
| 621 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, | 622 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, |
| 622 std::vector<std::string> /* Matching CSS selectors */) | 623 std::vector<std::string> /* Matching CSS selectors */) |
| OLD | NEW |