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

Unified Diff: ui/views/controls/tree/tree_view.h

Issue 79543010: Added basic accessibility to TreeView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « chrome/common/extensions/api/experimental_accessibility.json ('k') | ui/views/controls/tree/tree_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/tree/tree_view.h
diff --git a/ui/views/controls/tree/tree_view.h b/ui/views/controls/tree/tree_view.h
index da2a5205a6e00be450771269853af99544543e69..de571c789bf2c57c5249eef682158e0c254ae413 100644
--- a/ui/views/controls/tree/tree_view.h
+++ b/ui/views/controls/tree/tree_view.h
@@ -36,6 +36,9 @@ class VIEWS_EXPORT TreeView : public ui::TreeModelObserver,
public FocusChangeListener,
public PrefixDelegate {
public:
+ // The tree view's class name.
+ static const char kViewClassName[];
+
TreeView();
virtual ~TreeView();
@@ -122,6 +125,7 @@ class VIEWS_EXPORT TreeView : public ui::TreeModelObserver,
virtual void ShowContextMenu(const gfx::Point& p,
ui::MenuSourceType source_type) OVERRIDE;
virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
+ virtual const char* GetClassName() const OVERRIDE;
// TreeModelObserver overrides:
virtual void TreeNodesAdded(ui::TreeModel* model,
« no previous file with comments | « chrome/common/extensions/api/experimental_accessibility.json ('k') | ui/views/controls/tree/tree_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698