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 <map> |
| 9 #include <set> |
8 #include <string> | 10 #include <string> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/memory/shared_memory.h" | 13 #include "base/memory/shared_memory.h" |
12 #include "base/values.h" | 14 #include "base/values.h" |
13 #include "content/public/common/common_param_traits.h" | 15 #include "content/public/common/common_param_traits.h" |
14 #include "content/public/common/socket_permission_request.h" | 16 #include "content/public/common/socket_permission_request.h" |
15 #include "extensions/common/api/messaging/message.h" | 17 #include "extensions/common/api/messaging/message.h" |
16 #include "extensions/common/draggable_region.h" | 18 #include "extensions/common/draggable_region.h" |
17 #include "extensions/common/extension.h" | 19 #include "extensions/common/extension.h" |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
628 // certain conditions. This message is sent in response to several events: | 630 // certain conditions. This message is sent in response to several events: |
629 // | 631 // |
630 // * ExtensionMsg_WatchPages was received, updating the set of conditions. | 632 // * ExtensionMsg_WatchPages was received, updating the set of conditions. |
631 // * A new page is loaded. This will be sent after | 633 // * A new page is loaded. This will be sent after |
632 // FrameHostMsg_DidCommitProvisionalLoad. Currently this only fires for the | 634 // FrameHostMsg_DidCommitProvisionalLoad. Currently this only fires for the |
633 // main frame. | 635 // main frame. |
634 // * Something changed on an existing frame causing the set of matching searches | 636 // * Something changed on an existing frame causing the set of matching searches |
635 // to change. | 637 // to change. |
636 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, | 638 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, |
637 std::vector<std::string> /* Matching CSS selectors */) | 639 std::vector<std::string> /* Matching CSS selectors */) |
OLD | NEW |