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

Side by Side Diff: ui/accessibility/platform/ax_platform_node_base.h

Issue 2864953002: Split out the MSCOM pieces of BrowserAccessibilityWin into a seperate class. (Closed)
Patch Set: follow up comment Created 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_BASE_H_ 5 #ifndef UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_BASE_H_
6 #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_BASE_H_ 6 #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_BASE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/accessibility/ax_enums.h" 9 #include "ui/accessibility/ax_enums.h"
10 #include "ui/accessibility/platform/ax_platform_node.h" 10 #include "ui/accessibility/platform/ax_platform_node.h"
11 #include "ui/gfx/geometry/rect.h" 11 #include "ui/gfx/geometry/rect.h"
12 #include "ui/gfx/native_widget_types.h" 12 #include "ui/gfx/native_widget_types.h"
13 13
14 namespace ui { 14 namespace ui {
15 15
16 struct AXNodeData; 16 struct AXNodeData;
17 class AXPlatformNodeDelegate; 17 class AXPlatformNodeDelegate;
18 18
19 class AXPlatformNodeBase : public AXPlatformNode { 19 class AX_EXPORT AXPlatformNodeBase : public AXPlatformNode {
20 public: 20 public:
21 virtual void Init(AXPlatformNodeDelegate* delegate); 21 virtual void Init(AXPlatformNodeDelegate* delegate);
22 22
23 // These are simple wrappers to our delegate. 23 // These are simple wrappers to our delegate.
24 const AXNodeData& GetData() const; 24 const AXNodeData& GetData() const;
25 gfx::Rect GetBoundsInScreen() const; 25 gfx::Rect GetBoundsInScreen() const;
26 gfx::NativeViewAccessible GetParent(); 26 gfx::NativeViewAccessible GetParent();
27 int GetChildCount(); 27 int GetChildCount();
28 gfx::NativeViewAccessible ChildAtIndex(int index); 28 gfx::NativeViewAccessible ChildAtIndex(int index);
29 29
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // Sets the text selection in this object if possible. 78 // Sets the text selection in this object if possible.
79 bool SetTextSelection(int start_offset, int end_offset); 79 bool SetTextSelection(int start_offset, int end_offset);
80 80
81 private: 81 private:
82 DISALLOW_COPY_AND_ASSIGN(AXPlatformNodeBase); 82 DISALLOW_COPY_AND_ASSIGN(AXPlatformNodeBase);
83 }; 83 };
84 84
85 } // namespace ui 85 } // namespace ui
86 86
87 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_BASE_H_ 87 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_BASE_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | ui/accessibility/platform/ax_platform_node_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698