summaryrefslogtreecommitdiffstats
path: root/content/renderer/accessibility/accessibility_node_serializer.h
blob: f0e9525ffea7870b0d5a193fbbd0bf511a4a48e9 (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/Source/WebKit/chromium/public/WebAccessibilityObject.h"

namespace content {

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

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

}  // namespace content

#endif  // CONTENT_RENDERER_ACCESSIBILITY_ACCESSIBILITY_NODE_SERIALIZER_H_