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

Side by Side Diff: ui/views/accessibility/ax_window_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: 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_WINDOW_OBJ_WRAPPER_H_
6 #define UI_VIEWS_ACCESSIBILITY_AX_WINDOW_OBJ_WRAPPER_H_
7
8 #include "ui/views/accessibility/ax_node_source_obj_wrapper.h"
9
10 namespace aura {
11 class Window;
12 } // namespace aura
13
14 namespace views {
15
16 class AXWindowObjWrapper : public AXNodeSourceObjWrapper {
17 public:
18 explicit AXWindowObjWrapper(aura::Window* window) : window_(window) {}
19 virtual ~AXWindowObjWrapper() {}
20
21 virtual AXNodeSourceObjWrapper* GetParent() OVERRIDE;
22 virtual void GetChildren(
23 std::vector<AXNodeSourceObjWrapper*>* out_children) OVERRIDE;
24 virtual void Serialize(ui::AXNodeData* out_node_data) OVERRIDE;
25
26 private:
27 aura::Window* window_;
28
29 DISALLOW_COPY_AND_ASSIGN(AXWindowObjWrapper);
30 };
31
32 } // namespace views
33
34 #endif // UI_VIEWS_ACCESSIBILITY_AX_WINDOW_OBJ_WRAPPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698