1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CONTENT_RENDERER_ACCESSIBILITY_ACCESSIBILITY_NODE_SERIALIZER_H_ 6 #define CONTENT_RENDERER_ACCESSIBILITY_ACCESSIBILITY_NODE_SERIALIZER_H_ 7 8 #include "content/common/accessibility_node_data.h" 9 #include "third_party/WebKit/public/web/WebAXObject.h" 10 11 namespace content { 12 13 void SerializeAccessibilityNode( 14 const blink::WebAXObject& src, 15 AccessibilityNodeData* dst); 16 17 bool ShouldIncludeChildNode( 18 const blink::WebAXObject& parent, 19 const blink::WebAXObject& child); 20 21 } // namespace content 22 23 #endif // CONTENT_RENDERER_ACCESSIBILITY_ACCESSIBILITY_NODE_SERIALIZER_H_ 24