| 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 a5236b3c38c4711c41b3efcef1723d3352783bdc..a15e1e986ce8cb4b72abf887ac8d52b7cb027ddf 100644
|
| --- a/chrome/common/extensions/chrome_extension_messages.h
|
| +++ b/chrome/common/extensions/chrome_extension_messages.h
|
| @@ -21,6 +21,7 @@
|
| #include "ipc/ipc_message_macros.h"
|
| #include "ui/accessibility/ax_enums.h"
|
| #include "ui/accessibility/ax_node_data.h"
|
| +#include "ui/accessibility/ax_relative_bounds.h"
|
| #include "ui/accessibility/ax_tree_data.h"
|
| #include "ui/accessibility/ax_tree_update.h"
|
| #include "ui/gfx/transform.h"
|
| @@ -118,12 +119,29 @@ IPC_STRUCT_BEGIN(ExtensionMsg_AccessibilityEventParams)
|
| IPC_STRUCT_MEMBER(int, id)
|
| IPC_STRUCT_END()
|
|
|
| +IPC_STRUCT_BEGIN(ExtensionMsg_AccessibilityLocationChangeParams)
|
| + // ID of the accessibility tree that this event applies to.
|
| + IPC_STRUCT_MEMBER(int, tree_id)
|
| +
|
| + // ID of the object whose location is changing.
|
| + IPC_STRUCT_MEMBER(int, id)
|
| +
|
| + // The object's new location info.
|
| + IPC_STRUCT_MEMBER(ui::AXRelativeBounds, new_location)
|
| +IPC_STRUCT_END()
|
| +
|
| // Forward an accessibility message to an extension process where an
|
| // extension is using the automation API to listen for accessibility events.
|
| IPC_MESSAGE_ROUTED2(ExtensionMsg_AccessibilityEvent,
|
| ExtensionMsg_AccessibilityEventParams,
|
| bool /* is_active_profile */)
|
|
|
| +// Forward an accessibility location change message to an extension process
|
| +// where an extension is using the automation API to listen for
|
| +// accessibility events.
|
| +IPC_MESSAGE_ROUTED1(ExtensionMsg_AccessibilityLocationChange,
|
| + ExtensionMsg_AccessibilityLocationChangeParams)
|
| +
|
| // Messages sent from the renderer to the browser.
|
|
|
|
|
|
|