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

Unified Diff: ui/views/accessibility/ax_aura_obj_wrapper.h

Issue 246433012: Extend AXTreeSourceViews to handle aura::Window and views::Widget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move files from c/b/u/views/accessibility to c/b/u/ash/accessibility Created 6 years, 8 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
« no previous file with comments | « ui/views/accessibility/ax_aura_obj_cache.cc ('k') | ui/views/accessibility/ax_tree_source_views.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/accessibility/ax_aura_obj_wrapper.h
diff --git a/ui/views/accessibility/ax_aura_obj_wrapper.h b/ui/views/accessibility/ax_aura_obj_wrapper.h
new file mode 100644
index 0000000000000000000000000000000000000000..551b10786378376526d1189250ae1d69d565e37b
--- /dev/null
+++ b/ui/views/accessibility/ax_aura_obj_wrapper.h
@@ -0,0 +1,36 @@
+// Copyright 2014 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 UI_VIEWS_ACCESSIBILITY_AX_AURA_OBJ_WRAPPER_H_
+#define UI_VIEWS_ACCESSIBILITY_AX_AURA_OBJ_WRAPPER_H_
+
+#include <vector>
+
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+#include "base/macros.h"
+#include "ui/views/views_export.h"
+
+namespace ui {
+struct AXNodeData;
+} // namespace ui
+
+namespace views {
+
+// An interface abstraction for Aura views that exposes the view-tree formed
+// by the implementing view types.
+class VIEWS_EXPORT AXAuraObjWrapper {
+ public:
+ virtual ~AXAuraObjWrapper() {}
+
+ virtual AXAuraObjWrapper* GetParent() = 0;
+ virtual void GetChildren(
+ std::vector<AXAuraObjWrapper*>* out_children) = 0;
+ virtual void Serialize(ui::AXNodeData* out_node_data) = 0;
+ virtual int32 GetID() = 0;
+};
+
+} // namespace views
+
+#endif // UI_VIEWS_ACCESSIBILITY_AX_AURA_OBJ_WRAPPER_H_
« no previous file with comments | « ui/views/accessibility/ax_aura_obj_cache.cc ('k') | ui/views/accessibility/ax_tree_source_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698