Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 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_PUBLIC_BROWSER_ACCESSIBILITY_TREE_FORMATTER_H_ | |
| 6 #define CONTENT_PUBLIC_BROWSER_ACCESSIBILITY_TREE_FORMATTER_H_ | |
| 7 | |
| 8 #include "base/string16.h" | |
| 9 | |
| 10 namespace content { | |
| 11 | |
| 12 class RenderViewHost; | |
| 13 | |
| 14 class AccessibilityTreeFormatter { | |
| 15 public: | |
| 16 virtual ~AccessibilityTreeFormatter() {} | |
| 17 | |
| 18 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.
| |
| 19 | |
| 20 // Formats the BrowserAccessibility tree for this render view host into | |
| 21 // a string. | |
| 22 virtual void FormatAccessibilityTree(string16* contents) = 0; | |
| 23 }; | |
| 24 | |
| 25 } // namespace content | |
| 26 | |
| 27 #endif // CONTENT_PUBLIC_BROWSER_ACCESSIBILITY_TREE_FORMATTER_H_ | |
| OLD | NEW |