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 |
11 #include "base/shared_memory.h" | 11 #include "base/memory/shared_memory.h" |
12 #include "base/values.h" | 12 #include "base/values.h" |
13 #include "chrome/common/extensions/extension.h" | 13 #include "chrome/common/extensions/extension.h" |
14 #include "chrome/common/extensions/permissions/bluetooth_permission_data.h" | 14 #include "chrome/common/extensions/permissions/bluetooth_permission_data.h" |
15 #include "chrome/common/extensions/permissions/media_galleries_permission_data.h
" | 15 #include "chrome/common/extensions/permissions/media_galleries_permission_data.h
" |
16 #include "chrome/common/extensions/permissions/permission_set.h" | 16 #include "chrome/common/extensions/permissions/permission_set.h" |
17 #include "chrome/common/extensions/permissions/socket_permission_data.h" | 17 #include "chrome/common/extensions/permissions/socket_permission_data.h" |
18 #include "chrome/common/extensions/permissions/usb_device_permission_data.h" | 18 #include "chrome/common/extensions/permissions/usb_device_permission_data.h" |
19 #include "chrome/common/web_application_info.h" | 19 #include "chrome/common/web_application_info.h" |
20 #include "content/public/common/common_param_traits.h" | 20 #include "content/public/common/common_param_traits.h" |
21 #include "content/public/common/socket_permission_request.h" | 21 #include "content/public/common/socket_permission_request.h" |
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
642 // Notifies the browser process that a tab has started or stopped matching | 642 // Notifies the browser process that a tab has started or stopped matching |
643 // certain conditions. This message is sent in response to several events: | 643 // certain conditions. This message is sent in response to several events: |
644 // | 644 // |
645 // * ExtensionMsg_WatchPages was received, updating the set of conditions. | 645 // * ExtensionMsg_WatchPages was received, updating the set of conditions. |
646 // * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate. | 646 // * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate. |
647 // Currently this only fires for the main frame. | 647 // Currently this only fires for the main frame. |
648 // * Something changed on an existing frame causing the set of matching searches | 648 // * Something changed on an existing frame causing the set of matching searches |
649 // to change. | 649 // to change. |
650 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, | 650 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, |
651 std::vector<std::string> /* Matching CSS selectors */) | 651 std::vector<std::string> /* Matching CSS selectors */) |
OLD | NEW |