summaryrefslogtreecommitdiff
path: root/chromium/content/renderer/accessibility/accessibility_node_serializer.h
blob: 24e7e9e9ab150bf3860d1a049b1ce7fdd3803bcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 "content/common/accessibility_node_data.h"
#include "third_party/WebKit/public/web/WebAXObject.h"

namespace content {

void SerializeAccessibilityNode(
    const WebKit::WebAXObject& src,
    AccessibilityNodeData* dst);

bool ShouldIncludeChildNode(
    const WebKit::WebAXObject& parent,
    const WebKit::WebAXObject& child);

}  // namespace content

#endif  // CONTENT_RENDERER_ACCESSIBILITY_ACCESSIBILITY_NODE_SERIALIZER_H_