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 // Chrome-specific IPC messages for extensions. | 5 // Chrome-specific IPC messages for extensions. |
6 // Extension-related messages that aren't specific to Chrome live in | 6 // Extension-related messages that aren't specific to Chrome live in |
7 // extensions/common/extension_messages.h. | 7 // extensions/common/extension_messages.h. |
8 // | 8 // |
9 // Multiply-included message file, hence no include guard. | 9 // Multiply-included message file, hence no include guard. |
10 | 10 |
11 #include <stdint.h> | 11 #include <stdint.h> |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
16 #include "base/values.h" | 16 #include "base/values.h" |
17 #include "chrome/common/extensions/api/automation_internal.h" | 17 #include "chrome/common/extensions/api/automation_internal.h" |
18 #include "chrome/common/extensions/api/webstore/webstore_api_constants.h" | 18 #include "chrome/common/extensions/api/webstore/webstore_api_constants.h" |
19 #include "chrome/common/extensions/webstore_install_result.h" | 19 #include "chrome/common/extensions/webstore_install_result.h" |
20 #include "extensions/common/stack_frame.h" | 20 #include "extensions/common/stack_frame.h" |
21 #include "ipc/ipc_message_macros.h" | 21 #include "ipc/ipc_message_macros.h" |
22 #include "ui/accessibility/ax_enums.h" | 22 #include "ui/accessibility/ax_enums.h" |
23 #include "ui/accessibility/ax_node_data.h" | 23 #include "ui/accessibility/ax_node_data.h" |
24 #include "ui/accessibility/ax_tree_data.h" | 24 #include "ui/accessibility/ax_tree_data.h" |
25 #include "ui/accessibility/ax_tree_update.h" | 25 #include "ui/accessibility/ax_tree_update.h" |
| 26 #include "ui/gfx/transform.h" |
26 #include "url/gurl.h" | 27 #include "url/gurl.h" |
27 | 28 |
28 #define IPC_MESSAGE_START ChromeExtensionMsgStart | 29 #define IPC_MESSAGE_START ChromeExtensionMsgStart |
29 | 30 |
30 IPC_ENUM_TRAITS_MAX_VALUE(extensions::api::webstore::InstallStage, | 31 IPC_ENUM_TRAITS_MAX_VALUE(extensions::api::webstore::InstallStage, |
31 extensions::api::webstore::INSTALL_STAGE_INSTALLING) | 32 extensions::api::webstore::INSTALL_STAGE_INSTALLING) |
32 IPC_ENUM_TRAITS_MAX_VALUE(extensions::webstore_install::Result, | 33 IPC_ENUM_TRAITS_MAX_VALUE(extensions::webstore_install::Result, |
33 extensions::webstore_install::RESULT_LAST) | 34 extensions::webstore_install::RESULT_LAST) |
34 | 35 |
35 // Messages sent from the browser to the renderer. | 36 // Messages sent from the browser to the renderer. |
(...skipping 19 matching lines...) Expand all Loading... |
55 int32_t /* install id */, | 56 int32_t /* install id */, |
56 bool /* whether the install was successful */, | 57 bool /* whether the install was successful */, |
57 std::string /* error */, | 58 std::string /* error */, |
58 extensions::webstore_install::Result /* result */) | 59 extensions::webstore_install::Result /* result */) |
59 | 60 |
60 IPC_STRUCT_TRAITS_BEGIN(ui::AXNodeData) | 61 IPC_STRUCT_TRAITS_BEGIN(ui::AXNodeData) |
61 IPC_STRUCT_TRAITS_MEMBER(id) | 62 IPC_STRUCT_TRAITS_MEMBER(id) |
62 IPC_STRUCT_TRAITS_MEMBER(role) | 63 IPC_STRUCT_TRAITS_MEMBER(role) |
63 IPC_STRUCT_TRAITS_MEMBER(state) | 64 IPC_STRUCT_TRAITS_MEMBER(state) |
64 IPC_STRUCT_TRAITS_MEMBER(location) | 65 IPC_STRUCT_TRAITS_MEMBER(location) |
| 66 IPC_STRUCT_TRAITS_MEMBER(transform) |
65 IPC_STRUCT_TRAITS_MEMBER(string_attributes) | 67 IPC_STRUCT_TRAITS_MEMBER(string_attributes) |
66 IPC_STRUCT_TRAITS_MEMBER(int_attributes) | 68 IPC_STRUCT_TRAITS_MEMBER(int_attributes) |
67 IPC_STRUCT_TRAITS_MEMBER(float_attributes) | 69 IPC_STRUCT_TRAITS_MEMBER(float_attributes) |
68 IPC_STRUCT_TRAITS_MEMBER(bool_attributes) | 70 IPC_STRUCT_TRAITS_MEMBER(bool_attributes) |
69 IPC_STRUCT_TRAITS_MEMBER(intlist_attributes) | 71 IPC_STRUCT_TRAITS_MEMBER(intlist_attributes) |
70 IPC_STRUCT_TRAITS_MEMBER(html_attributes) | 72 IPC_STRUCT_TRAITS_MEMBER(html_attributes) |
71 IPC_STRUCT_TRAITS_MEMBER(child_ids) | 73 IPC_STRUCT_TRAITS_MEMBER(child_ids) |
72 IPC_STRUCT_TRAITS_END() | 74 IPC_STRUCT_TRAITS_END() |
73 | 75 |
74 IPC_STRUCT_TRAITS_BEGIN(ui::AXTreeData) | 76 IPC_STRUCT_TRAITS_BEGIN(ui::AXTreeData) |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 // Messages sent from the renderer to the browser. | 123 // Messages sent from the renderer to the browser. |
122 | 124 |
123 | 125 |
124 // Sent by the renderer to implement chrome.webstore.install(). | 126 // Sent by the renderer to implement chrome.webstore.install(). |
125 IPC_MESSAGE_ROUTED5(ExtensionHostMsg_InlineWebstoreInstall, | 127 IPC_MESSAGE_ROUTED5(ExtensionHostMsg_InlineWebstoreInstall, |
126 int32_t /* install id */, | 128 int32_t /* install id */, |
127 int32_t /* return route id */, | 129 int32_t /* return route id */, |
128 std::string /* Web Store item ID */, | 130 std::string /* Web Store item ID */, |
129 GURL /* requestor URL */, | 131 GURL /* requestor URL */, |
130 int /* listeners_mask */) | 132 int /* listeners_mask */) |
OLD | NEW |