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 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 | 548 |
549 // Dispatch the Port.onDisconnect event for message channels. | 549 // Dispatch the Port.onDisconnect event for message channels. |
550 IPC_MESSAGE_ROUTED2(ExtensionMsg_DispatchOnDisconnect, | 550 IPC_MESSAGE_ROUTED2(ExtensionMsg_DispatchOnDisconnect, |
551 int /* port_id */, | 551 int /* port_id */, |
552 std::string /* error_message */) | 552 std::string /* error_message */) |
553 | 553 |
554 // Informs the renderer what channel (dev, beta, stable, etc) is running. | 554 // Informs the renderer what channel (dev, beta, stable, etc) is running. |
555 IPC_MESSAGE_CONTROL1(ExtensionMsg_SetChannel, | 555 IPC_MESSAGE_CONTROL1(ExtensionMsg_SetChannel, |
556 int /* channel */) | 556 int /* channel */) |
557 | 557 |
558 // Adds a logging message to the renderer's root frame DevTools console. | |
559 IPC_MESSAGE_ROUTED2(ExtensionMsg_AddMessageToConsole, | |
560 content::ConsoleMessageLevel /* level */, | |
561 std::string /* message */) | |
562 | |
563 // Notify the renderer that its window has closed. | 558 // Notify the renderer that its window has closed. |
564 IPC_MESSAGE_ROUTED0(ExtensionMsg_AppWindowClosed) | 559 IPC_MESSAGE_ROUTED0(ExtensionMsg_AppWindowClosed) |
565 | 560 |
566 // Notify the renderer that an extension wants notifications when certain | 561 // Notify the renderer that an extension wants notifications when certain |
567 // searches match the active page. This message replaces the old set of | 562 // searches match the active page. This message replaces the old set of |
568 // searches, and triggers ExtensionHostMsg_OnWatchedPageChange messages from | 563 // searches, and triggers ExtensionHostMsg_OnWatchedPageChange messages from |
569 // each tab to keep the browser updated about changes. | 564 // each tab to keep the browser updated about changes. |
570 IPC_MESSAGE_CONTROL1(ExtensionMsg_WatchPages, | 565 IPC_MESSAGE_CONTROL1(ExtensionMsg_WatchPages, |
571 std::vector<std::string> /* CSS selectors */) | 566 std::vector<std::string> /* CSS selectors */) |
572 | 567 |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
794 int /* acc_obj_id */, | 789 int /* acc_obj_id */, |
795 base::string16 /* selector */) | 790 base::string16 /* selector */) |
796 | 791 |
797 // Result of a query selector request. | 792 // Result of a query selector request. |
798 // result_acc_obj_id is the accessibility tree ID of the result element; 0 | 793 // result_acc_obj_id is the accessibility tree ID of the result element; 0 |
799 // indicates no result. | 794 // indicates no result. |
800 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, | 795 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, |
801 int /* request_id */, | 796 int /* request_id */, |
802 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, | 797 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, |
803 int /* result_acc_obj_id */) | 798 int /* result_acc_obj_id */) |
OLD | NEW |