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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 50 |
51 // Title of the page. | 51 // Title of the page. |
52 IPC_STRUCT_MEMBER(string16, url_title) | 52 IPC_STRUCT_MEMBER(string16, url_title) |
53 | 53 |
54 // API name. | 54 // API name. |
55 IPC_STRUCT_MEMBER(std::string, api_call) | 55 IPC_STRUCT_MEMBER(std::string, api_call) |
56 | 56 |
57 // List of arguments. | 57 // List of arguments. |
58 IPC_STRUCT_MEMBER(ListValue, arguments) | 58 IPC_STRUCT_MEMBER(ListValue, arguments) |
59 | 59 |
60 // Extra logging information. | 60 // Type of DOM API call. |
61 IPC_STRUCT_MEMBER(std::string, extra) | 61 IPC_STRUCT_MEMBER(int, call_type) |
62 IPC_STRUCT_END() | 62 IPC_STRUCT_END() |
63 | 63 |
64 // Parameters structure for ExtensionHostMsg_Request. | 64 // Parameters structure for ExtensionHostMsg_Request. |
65 IPC_STRUCT_BEGIN(ExtensionHostMsg_Request_Params) | 65 IPC_STRUCT_BEGIN(ExtensionHostMsg_Request_Params) |
66 // Message name. | 66 // Message name. |
67 IPC_STRUCT_MEMBER(std::string, name) | 67 IPC_STRUCT_MEMBER(std::string, name) |
68 | 68 |
69 // List of message arguments. | 69 // List of message arguments. |
70 IPC_STRUCT_MEMBER(ListValue, arguments) | 70 IPC_STRUCT_MEMBER(ListValue, arguments) |
71 | 71 |
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
636 // Notifies the browser process that a tab has started or stopped matching | 636 // Notifies the browser process that a tab has started or stopped matching |
637 // certain conditions. This message is sent in response to several events: | 637 // certain conditions. This message is sent in response to several events: |
638 // | 638 // |
639 // * ExtensionMsg_WatchPages was received, updating the set of conditions. | 639 // * ExtensionMsg_WatchPages was received, updating the set of conditions. |
640 // * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate. | 640 // * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate. |
641 // Currently this only fires for the main frame. | 641 // Currently this only fires for the main frame. |
642 // * Something changed on an existing frame causing the set of matching searches | 642 // * Something changed on an existing frame causing the set of matching searches |
643 // to change. | 643 // to change. |
644 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, | 644 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, |
645 std::vector<std::string> /* Matching CSS selectors */) | 645 std::vector<std::string> /* Matching CSS selectors */) |
OLD | NEW |