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

Unified Diff: content/renderer/accessibility/accessibility_node_serializer.h

Issue 222073002: Revert of Refactor content/renderer/accessibility to use AXTreeSerializer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/content_renderer.gypi ('k') | content/renderer/accessibility/accessibility_node_serializer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/accessibility/accessibility_node_serializer.h
diff --git a/content/renderer/accessibility/accessibility_node_serializer.h b/content/renderer/accessibility/accessibility_node_serializer.h
new file mode 100644
index 0000000000000000000000000000000000000000..5ddde216bcab7661f9a135db3b5638e6c89c0dbd
--- /dev/null
+++ b/content/renderer/accessibility/accessibility_node_serializer.h
@@ -0,0 +1,23 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_RENDERER_ACCESSIBILITY_ACCESSIBILITY_NODE_SERIALIZER_H_
+#define CONTENT_RENDERER_ACCESSIBILITY_ACCESSIBILITY_NODE_SERIALIZER_H_
+
+#include "third_party/WebKit/public/web/WebAXObject.h"
+#include "ui/accessibility/ax_node_data.h"
+
+namespace content {
+
+void SerializeAccessibilityNode(
+ const blink::WebAXObject& src,
+ ui::AXNodeData* dst);
+
+bool ShouldIncludeChildNode(
+ const blink::WebAXObject& parent,
+ const blink::WebAXObject& child);
+
+} // namespace content
+
+#endif // CONTENT_RENDERER_ACCESSIBILITY_ACCESSIBILITY_NODE_SERIALIZER_H_
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/accessibility/accessibility_node_serializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698