| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "extensions/common/permissions/media_galleries_permission_data.h" | 22 #include "extensions/common/permissions/media_galleries_permission_data.h" |
| 23 #include "extensions/common/permissions/permission_set.h" | 23 #include "extensions/common/permissions/permission_set.h" |
| 24 #include "extensions/common/permissions/socket_permission_data.h" | 24 #include "extensions/common/permissions/socket_permission_data.h" |
| 25 #include "extensions/common/permissions/usb_device_permission_data.h" | 25 #include "extensions/common/permissions/usb_device_permission_data.h" |
| 26 #include "extensions/common/stack_frame.h" | 26 #include "extensions/common/stack_frame.h" |
| 27 #include "extensions/common/url_pattern.h" | 27 #include "extensions/common/url_pattern.h" |
| 28 #include "extensions/common/url_pattern_set.h" | 28 #include "extensions/common/url_pattern_set.h" |
| 29 #include "extensions/common/user_script.h" | 29 #include "extensions/common/user_script.h" |
| 30 #include "extensions/common/view_type.h" | 30 #include "extensions/common/view_type.h" |
| 31 #include "ipc/ipc_message_macros.h" | 31 #include "ipc/ipc_message_macros.h" |
| 32 #include "ui/gfx/ipc/gfx_param_traits.h" | |
| 33 #include "url/gurl.h" | 32 #include "url/gurl.h" |
| 34 | 33 |
| 35 #define IPC_MESSAGE_START ExtensionMsgStart | 34 #define IPC_MESSAGE_START ExtensionMsgStart |
| 36 | 35 |
| 37 IPC_ENUM_TRAITS_MAX_VALUE(extensions::ViewType, extensions::VIEW_TYPE_LAST) | 36 IPC_ENUM_TRAITS_MAX_VALUE(extensions::ViewType, extensions::VIEW_TYPE_LAST) |
| 38 IPC_ENUM_TRAITS_MAX_VALUE(content::SocketPermissionRequest::OperationType, | 37 IPC_ENUM_TRAITS_MAX_VALUE(content::SocketPermissionRequest::OperationType, |
| 39 content::SocketPermissionRequest::OPERATION_TYPE_LAST) | 38 content::SocketPermissionRequest::OPERATION_TYPE_LAST) |
| 40 | 39 |
| 41 IPC_ENUM_TRAITS_MAX_VALUE(extensions::UserScript::InjectionType, | 40 IPC_ENUM_TRAITS_MAX_VALUE(extensions::UserScript::InjectionType, |
| 42 extensions::UserScript::INJECTION_TYPE_LAST) | 41 extensions::UserScript::INJECTION_TYPE_LAST) |
| (...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 825 int /* acc_obj_id */, | 824 int /* acc_obj_id */, |
| 826 base::string16 /* selector */) | 825 base::string16 /* selector */) |
| 827 | 826 |
| 828 // Result of a query selector request. | 827 // Result of a query selector request. |
| 829 // result_acc_obj_id is the accessibility tree ID of the result element; 0 | 828 // result_acc_obj_id is the accessibility tree ID of the result element; 0 |
| 830 // indicates no result. | 829 // indicates no result. |
| 831 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, | 830 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, |
| 832 int /* request_id */, | 831 int /* request_id */, |
| 833 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, | 832 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, |
| 834 int /* result_acc_obj_id */) | 833 int /* result_acc_obj_id */) |
| OLD | NEW |