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/shared_memory.h" |
12 #include "base/values.h" | 12 #include "base/values.h" |
13 #include "chrome/common/extensions/draggable_region.h" | |
14 #include "chrome/common/extensions/extension.h" | 13 #include "chrome/common/extensions/extension.h" |
15 #include "chrome/common/extensions/permissions/bluetooth_device_permission_data.
h" | 14 #include "chrome/common/extensions/permissions/bluetooth_device_permission_data.
h" |
16 #include "chrome/common/extensions/permissions/media_galleries_permission_data.h
" | 15 #include "chrome/common/extensions/permissions/media_galleries_permission_data.h
" |
17 #include "chrome/common/extensions/permissions/permission_set.h" | 16 #include "chrome/common/extensions/permissions/permission_set.h" |
18 #include "chrome/common/extensions/permissions/socket_permission_data.h" | 17 #include "chrome/common/extensions/permissions/socket_permission_data.h" |
19 #include "chrome/common/extensions/permissions/usb_device_permission_data.h" | 18 #include "chrome/common/extensions/permissions/usb_device_permission_data.h" |
20 #include "chrome/common/view_type.h" | 19 #include "chrome/common/view_type.h" |
21 #include "chrome/common/web_apps.h" | 20 #include "chrome/common/web_apps.h" |
22 #include "content/public/common/common_param_traits.h" | 21 #include "content/public/common/common_param_traits.h" |
23 #include "content/public/common/socket_permission_request.h" | 22 #include "content/public/common/socket_permission_request.h" |
| 23 #include "extensions/common/draggable_region.h" |
24 #include "extensions/common/url_pattern.h" | 24 #include "extensions/common/url_pattern.h" |
25 #include "extensions/common/url_pattern_set.h" | 25 #include "extensions/common/url_pattern_set.h" |
26 #include "googleurl/src/gurl.h" | 26 #include "googleurl/src/gurl.h" |
27 #include "ipc/ipc_message_macros.h" | 27 #include "ipc/ipc_message_macros.h" |
28 | 28 |
29 #define IPC_MESSAGE_START ExtensionMsgStart | 29 #define IPC_MESSAGE_START ExtensionMsgStart |
30 | 30 |
31 IPC_ENUM_TRAITS(chrome::ViewType) | 31 IPC_ENUM_TRAITS(chrome::ViewType) |
32 | 32 |
33 // Parameters structure for ExtensionHostMsg_Request. | 33 // Parameters structure for ExtensionHostMsg_Request. |
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 // Notifies the browser process that a tab has started or stopped matching | 591 // Notifies the browser process that a tab has started or stopped matching |
592 // certain conditions. This message is sent in response to several events: | 592 // certain conditions. This message is sent in response to several events: |
593 // | 593 // |
594 // * ExtensionMsg_WatchPages was received, updating the set of conditions. | 594 // * ExtensionMsg_WatchPages was received, updating the set of conditions. |
595 // * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate. | 595 // * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate. |
596 // Currently this only fires for the main frame. | 596 // Currently this only fires for the main frame. |
597 // * Something changed on an existing frame causing the set of matching searches | 597 // * Something changed on an existing frame causing the set of matching searches |
598 // to change. | 598 // to change. |
599 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, | 599 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, |
600 std::vector<std::string> /* Matching CSS selectors */) | 600 std::vector<std::string> /* Matching CSS selectors */) |
OLD | NEW |