Chromium Code Reviews| Index: content/public/browser/accessibility_tree_formatter.h |
| diff --git a/content/public/browser/accessibility_tree_formatter.h b/content/public/browser/accessibility_tree_formatter.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..712e1e6971e1710aa54dfc14c6acbb9c2ab2148d |
| --- /dev/null |
| +++ b/content/public/browser/accessibility_tree_formatter.h |
| @@ -0,0 +1,27 @@ |
| +// Copyright (c) 2013 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_PUBLIC_BROWSER_ACCESSIBILITY_TREE_FORMATTER_H_ |
| +#define CONTENT_PUBLIC_BROWSER_ACCESSIBILITY_TREE_FORMATTER_H_ |
| + |
| +#include "base/string16.h" |
| + |
| +namespace content { |
| + |
| +class RenderViewHost; |
| + |
| +class AccessibilityTreeFormatter { |
| + public: |
| + virtual ~AccessibilityTreeFormatter() {} |
| + |
| + static AccessibilityTreeFormatter* From(RenderViewHost* rvh); |
|
dmazzoni
2013/02/26 22:37:36
I think this should be called Create. "From" is no
aboxhall
2013/02/27 01:44:16
Done.
|
| + |
| + // Formats the BrowserAccessibility tree for this render view host into |
| + // a string. |
| + virtual void FormatAccessibilityTree(string16* contents) = 0; |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_PUBLIC_BROWSER_ACCESSIBILITY_TREE_FORMATTER_H_ |