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

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

Powered by Google App Engine
This is Rietveld 408576698