| 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 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 625 // certain conditions. This message is sent in response to several events: | 627 // certain conditions. This message is sent in response to several events: |
| 626 // | 628 // |
| 627 // * ExtensionMsg_WatchPages was received, updating the set of conditions. | 629 // * ExtensionMsg_WatchPages was received, updating the set of conditions. |
| 628 // * A new page is loaded. This will be sent after | 630 // * A new page is loaded. This will be sent after |
| 629 // FrameHostMsg_DidCommitProvisionalLoad. Currently this only fires for the | 631 // FrameHostMsg_DidCommitProvisionalLoad. Currently this only fires for the |
| 630 // main frame. | 632 // main frame. |
| 631 // * Something changed on an existing frame causing the set of matching searches | 633 // * Something changed on an existing frame causing the set of matching searches |
| 632 // to change. | 634 // to change. |
| 633 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, | 635 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, |
| 634 std::vector<std::string> /* Matching CSS selectors */) | 636 std::vector<std::string> /* Matching CSS selectors */) |
| OLD | NEW |