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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 // Extra logging information. | 44 // Extra logging information. |
45 IPC_STRUCT_MEMBER(std::string, extra) | 45 IPC_STRUCT_MEMBER(std::string, extra) |
46 IPC_STRUCT_END() | 46 IPC_STRUCT_END() |
47 | 47 |
48 // Parameters structure for ExtensionHostMsg_AddDOMActionToActivityLog. | 48 // Parameters structure for ExtensionHostMsg_AddDOMActionToActivityLog. |
49 IPC_STRUCT_BEGIN(ExtensionHostMsg_DOMAction_Params) | 49 IPC_STRUCT_BEGIN(ExtensionHostMsg_DOMAction_Params) |
50 // URL of the page. | 50 // URL of the page. |
51 IPC_STRUCT_MEMBER(GURL, url) | 51 IPC_STRUCT_MEMBER(GURL, url) |
52 | 52 |
53 // Title of the page. | 53 // Title of the page. |
54 IPC_STRUCT_MEMBER(string16, url_title) | 54 IPC_STRUCT_MEMBER(base::string16, url_title) |
55 | 55 |
56 // API name. | 56 // API name. |
57 IPC_STRUCT_MEMBER(std::string, api_call) | 57 IPC_STRUCT_MEMBER(std::string, api_call) |
58 | 58 |
59 // List of arguments. | 59 // List of arguments. |
60 IPC_STRUCT_MEMBER(base::ListValue, arguments) | 60 IPC_STRUCT_MEMBER(base::ListValue, arguments) |
61 | 61 |
62 // Type of DOM API call. | 62 // Type of DOM API call. |
63 IPC_STRUCT_MEMBER(int, call_type) | 63 IPC_STRUCT_MEMBER(int, call_type) |
64 IPC_STRUCT_END() | 64 IPC_STRUCT_END() |
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
670 // Notifies the browser process that a tab has started or stopped matching | 670 // Notifies the browser process that a tab has started or stopped matching |
671 // certain conditions. This message is sent in response to several events: | 671 // certain conditions. This message is sent in response to several events: |
672 // | 672 // |
673 // * ExtensionMsg_WatchPages was received, updating the set of conditions. | 673 // * ExtensionMsg_WatchPages was received, updating the set of conditions. |
674 // * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate. | 674 // * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate. |
675 // Currently this only fires for the main frame. | 675 // Currently this only fires for the main frame. |
676 // * Something changed on an existing frame causing the set of matching searches | 676 // * Something changed on an existing frame causing the set of matching searches |
677 // to change. | 677 // to change. |
678 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, | 678 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, |
679 std::vector<std::string> /* Matching CSS selectors */) | 679 std::vector<std::string> /* Matching CSS selectors */) |
OLD | NEW |