Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(652)

Unified Diff: content/common/accessibility_messages.h

Issue 116293005: Refactor content/ to use ui::AXNodeData instead of blink. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update content/DEPS instead of subdirs Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/common/accessibility_node_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/accessibility_messages.h
diff --git a/content/common/accessibility_messages.h b/content/common/accessibility_messages.h
index 05ff75cf9ad1e5bcb10f3ee337d011f3984027bf..8f48edeb4da1fcd50c8e3db4e95e0c1907f1237e 100644
--- a/content/common/accessibility_messages.h
+++ b/content/common/accessibility_messages.h
@@ -6,7 +6,6 @@
// Multiply-included message file, hence no include guard.
#include "base/basictypes.h"
-#include "content/common/accessibility_node_data.h"
#include "content/common/content_export.h"
#include "content/common/view_message_enums.h"
#include "content/public/common/common_param_traits.h"
@@ -15,22 +14,23 @@
#include "ipc/ipc_param_traits.h"
#include "ipc/param_traits_macros.h"
#include "third_party/WebKit/public/web/WebAXEnums.h"
+#include "ui/accessibility/ax_node_data.h"
#undef IPC_MESSAGE_EXPORT
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
#define IPC_MESSAGE_START AccessibilityMsgStart
-IPC_ENUM_TRAITS(blink::WebAXEvent)
-IPC_ENUM_TRAITS(blink::WebAXRole)
+IPC_ENUM_TRAITS(ui::AXEvent)
+IPC_ENUM_TRAITS(ui::AXRole)
-IPC_ENUM_TRAITS(content::AccessibilityNodeData::BoolAttribute)
-IPC_ENUM_TRAITS(content::AccessibilityNodeData::FloatAttribute)
-IPC_ENUM_TRAITS(content::AccessibilityNodeData::IntAttribute)
-IPC_ENUM_TRAITS(content::AccessibilityNodeData::IntListAttribute)
-IPC_ENUM_TRAITS(content::AccessibilityNodeData::StringAttribute)
+IPC_ENUM_TRAITS(ui::AXBoolAttribute)
+IPC_ENUM_TRAITS(ui::AXFloatAttribute)
+IPC_ENUM_TRAITS(ui::AXIntAttribute)
+IPC_ENUM_TRAITS(ui::AXIntListAttribute)
+IPC_ENUM_TRAITS(ui::AXStringAttribute)
-IPC_STRUCT_TRAITS_BEGIN(content::AccessibilityNodeData)
+IPC_STRUCT_TRAITS_BEGIN(ui::AXNodeData)
IPC_STRUCT_TRAITS_MEMBER(id)
IPC_STRUCT_TRAITS_MEMBER(role)
IPC_STRUCT_TRAITS_MEMBER(state)
@@ -47,10 +47,10 @@ IPC_STRUCT_TRAITS_END()
IPC_STRUCT_BEGIN(AccessibilityHostMsg_EventParams)
// Vector of nodes in the tree that need to be updated before
// sending the event.
- IPC_STRUCT_MEMBER(std::vector<content::AccessibilityNodeData>, nodes)
+ IPC_STRUCT_MEMBER(std::vector<ui::AXNodeData>, nodes)
// Type of event.
- IPC_STRUCT_MEMBER(blink::WebAXEvent, event_type)
+ IPC_STRUCT_MEMBER(ui::AXEvent, event_type)
// ID of the node that the event applies to.
IPC_STRUCT_MEMBER(int, id)
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/common/accessibility_node_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698