diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-02 11:31:26 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-02 11:31:26 +0000 |
commit | 648e7b91fdb036322e45446092d343f963ed242c (patch) | |
tree | 6f46fb66307b141823b2cfcdf41483f02d94ca1b /content/common/accessibility_messages.h | |
parent | de31638a9e61f7f5db0f5a6eba9036a7998e70ae (diff) | |
download | chromium_src-648e7b91fdb036322e45446092d343f963ed242c.zip chromium_src-648e7b91fdb036322e45446092d343f963ed242c.tar.gz chromium_src-648e7b91fdb036322e45446092d343f963ed242c.tar.bz2 |
Revert of Refactor content/renderer/accessibility to use AXTreeSerializer. (https://codereview.chromium.org/125763003/)
Reason for revert:
Breaks asan builders: http://build.chromium.org/p/chromium.memory/buildstatus?builder=Linux%20ASan%2BLSan%20Tests%20%283%29&number=1347
Original issue's description:
> Refactor content/renderer/accessibility to use AXTreeSerializer.
>
> This removes the confusing code in content/renderer/accessibility that
> serializes updates from Blink's accessibility tree, and replaces it with
> calls to the new cleaner and fully-unit-tested AXTreeSerializer class.
>
> BUG=316726
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261099
TBR=dtseng@chromium.org,aboxhall@chromium.org,tsepez@chromium.org,jam@chromium.org,aarya@google.com,dmazzoni@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=316726
Review URL: https://codereview.chromium.org/222073002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261107 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/accessibility_messages.h')
-rw-r--r-- | content/common/accessibility_messages.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/content/common/accessibility_messages.h b/content/common/accessibility_messages.h index 1830a1b..c86720d 100644 --- a/content/common/accessibility_messages.h +++ b/content/common/accessibility_messages.h @@ -15,7 +15,6 @@ #include "ipc/param_traits_macros.h" #include "third_party/WebKit/public/web/WebAXEnums.h" #include "ui/accessibility/ax_node_data.h" -#include "ui/accessibility/ax_tree_update.h" #undef IPC_MESSAGE_EXPORT #define IPC_MESSAGE_EXPORT CONTENT_EXPORT @@ -46,14 +45,10 @@ IPC_STRUCT_TRAITS_BEGIN(ui::AXNodeData) IPC_STRUCT_TRAITS_MEMBER(child_ids) IPC_STRUCT_TRAITS_END() -IPC_STRUCT_TRAITS_BEGIN(ui::AXTreeUpdate) - IPC_STRUCT_TRAITS_MEMBER(node_id_to_clear) - IPC_STRUCT_TRAITS_MEMBER(nodes) -IPC_STRUCT_TRAITS_END() - IPC_STRUCT_BEGIN(AccessibilityHostMsg_EventParams) - // The tree update. - IPC_STRUCT_MEMBER(ui::AXTreeUpdate, update) + // Vector of nodes in the tree that need to be updated before + // sending the event. + IPC_STRUCT_MEMBER(std::vector<ui::AXNodeData>, nodes) // Type of event. IPC_STRUCT_MEMBER(ui::AXEvent, event_type) |