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

Side by Side Diff: chrome/browser/ui/views/accessibility/ax_root_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 CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_AX_ROOT_OBJ_WRAPPER_H_
6 #define CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_AX_ROOT_OBJ_WRAPPER_H_
7
8 #include "base/basictypes.h"
9 #include "ui/views/accessibility/ax_aura_obj_wrapper.h"
10
11 namespace views {
12
13 class AXRootObjWrapper : public AXAuraObjWrapper {
14 public:
15 explicit AXRootObjWrapper(int32 id) : id_(id) {}
16 virtual ~AXRootObjWrapper() {}
17
18 // Convenience method to check for existence of a child.
19 bool HasChild(AXAuraObjWrapper* child);
20
21 // AXAuraObjWrapper overrides.
22 virtual AXAuraObjWrapper* GetParent() OVERRIDE;
23 virtual void GetChildren(
24 std::vector<AXAuraObjWrapper*>* out_children) OVERRIDE;
25 virtual void Serialize(ui::AXNodeData* out_node_data) OVERRIDE;
26 virtual int32 GetID() OVERRIDE;
27
28 private:
29 int32 id_;
30
31 DISALLOW_COPY_AND_ASSIGN(AXRootObjWrapper);
32 };
33
34 } // namespace views
35
36 #endif // CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_AX_ROOT_OBJ_WRAPPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698