Chromium Code Reviews| Index: chrome/common/extensions/chrome_extension_messages.h |
| diff --git a/chrome/common/extensions/chrome_extension_messages.h b/chrome/common/extensions/chrome_extension_messages.h |
| index cbc5f2065e8ab9546840e7287bf2a19a699c3fa5..37f6237f916fd90630b6b14efe6f0338ee8c2448 100644 |
| --- a/chrome/common/extensions/chrome_extension_messages.h |
| +++ b/chrome/common/extensions/chrome_extension_messages.h |
| @@ -12,10 +12,14 @@ |
| #include "base/strings/string16.h" |
| #include "base/values.h" |
| +#include "chrome/common/extensions/api/automation_internal.h" |
| #include "chrome/common/extensions/api/webstore/webstore_api_constants.h" |
| #include "chrome/common/extensions/webstore_install_result.h" |
| #include "extensions/common/stack_frame.h" |
| #include "ipc/ipc_message_macros.h" |
| +#include "ui/accessibility/ax_enums.h" |
| +#include "ui/accessibility/ax_node_data.h" |
| +#include "ui/accessibility/ax_tree_update.h" |
| #include "url/gurl.h" |
| #define IPC_MESSAGE_START ChromeExtensionMsgStart |
| @@ -50,6 +54,29 @@ IPC_MESSAGE_ROUTED4(ExtensionMsg_InlineWebstoreInstallResponse, |
| std::string /* error */, |
| extensions::webstore_install::Result /* result */) |
| +IPC_STRUCT_BEGIN(ExtensionMsg_AccessibilityEventParams) |
| + // ID of the accessibility tree that this event applies to. |
| + IPC_STRUCT_MEMBER(int, tree_id) |
| + |
| + // The global offset of all coordinates in this accessibility tree. |
| + IPC_STRUCT_MEMBER(gfx::Vector2d, location_offset) |
| + |
| + // The tree update. |
| + IPC_STRUCT_MEMBER(ui::AXTreeUpdate, update) |
| + |
| + // Type of event. |
| + IPC_STRUCT_MEMBER(ui::AXEvent, event_type) |
| + |
| + // ID of the node that the event applies to. |
| + IPC_STRUCT_MEMBER(int, id) |
| +IPC_STRUCT_END() |
| + |
|
not at google - send to devlin
2015/06/04 23:03:29
extra \n
dmazzoni
2015/06/08 18:02:57
Done.
|
| + |
| +// Forward an accessibility message to an extension process where an |
| +// extension is using the automation API to listen for accessibility events. |
| +IPC_MESSAGE_ROUTED1(ExtensionMsg_AccessibilityEvent, |
| + ExtensionMsg_AccessibilityEventParams) |
| + |
| // Messages sent from the renderer to the browser. |