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

Side by Side Diff: ui/views/accessibility/ax_view_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: With tests. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 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 UI_VIEWS_ACCESSIBILITY_AX_VIEW_OBJ_WRAPPER_H_
6 #define UI_VIEWS_ACCESSIBILITY_AX_VIEW_OBJ_WRAPPER_H_
7
8 #include "ui/views/accessibility/ax_aura_obj_wrapper.h"
9
10 namespace views {
11
12 class View;
13
14 class AXViewObjWrapper : public AXAuraObjWrapper {
15 public:
16 explicit AXViewObjWrapper(View* view) : view_(view) {}
dmazzoni 2014/04/25 06:13:59 I wonder if creating a View object wrapper should:
David Tseng 2014/04/25 22:47:29 Done.
17 virtual ~AXViewObjWrapper() {}
18
19 virtual AXAuraObjWrapper* GetParent() OVERRIDE;
20 virtual void GetChildren(
21 std::vector<AXAuraObjWrapper*>* out_children) OVERRIDE;
22 virtual void Serialize(ui::AXNodeData* out_node_data) OVERRIDE;
23 virtual int32 GetID() OVERRIDE;
24
25 private:
26 View* view_;
27
28 DISALLOW_COPY_AND_ASSIGN(AXViewObjWrapper);
29 };
30
31 } // namespace views
32
33 #endif // UI_VIEWS_ACCESSIBILITY_AX_VIEW_OBJ_WRAPPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698