Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(619)

Unified Diff: content/public/browser/accessibility_tree_formatter.h

Issue 12335101: Move some accessibility methods, enums and interfaces into the content/public API. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rename From() -> Create() Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..1de5b41f242f8ce8807c32f5957630f337e0bfa5
--- /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* Create(RenderViewHost* rvh);
+
+ // Formats the BrowserAccessibility tree for this render view host into
dmazzoni 2013/02/27 16:41:01 BrowserAccessibility -> browser accessibility (sin
aboxhall 2013/02/27 18:58:50 Done.
+ // a string.
+ virtual void FormatAccessibilityTree(string16* contents) = 0;
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_BROWSER_ACCESSIBILITY_TREE_FORMATTER_H_

Powered by Google App Engine
This is Rietveld 408576698