OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_TEST_AX_NODE_WRAPPER_H_ | 5 #ifndef UI_ACCESSIBILITY_PLATFORM_TEST_AX_NODE_WRAPPER_H_ |
6 #define UI_ACCESSIBILITY_PLATFORM_TEST_AX_NODE_WRAPPER_H_ | 6 #define UI_ACCESSIBILITY_PLATFORM_TEST_AX_NODE_WRAPPER_H_ |
7 | 7 |
8 #include "ui/accessibility/ax_node.h" | 8 #include "ui/accessibility/ax_node.h" |
9 #include "ui/accessibility/ax_tree.h" | 9 #include "ui/accessibility/ax_tree.h" |
10 #include "ui/accessibility/platform/ax_platform_node.h" | 10 #include "ui/accessibility/platform/ax_platform_node.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 gfx::NativeViewAccessible ChildAtIndex(int index) override; | 37 gfx::NativeViewAccessible ChildAtIndex(int index) override; |
38 gfx::Rect GetScreenBoundsRect() const override; | 38 gfx::Rect GetScreenBoundsRect() const override; |
39 gfx::NativeViewAccessible HitTestSync(int x, int y) override; | 39 gfx::NativeViewAccessible HitTestSync(int x, int y) override; |
40 gfx::NativeViewAccessible GetFocus() override; | 40 gfx::NativeViewAccessible GetFocus() override; |
41 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override; | 41 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override; |
42 bool AccessibilityPerformAction(const ui::AXActionData& data) override; | 42 bool AccessibilityPerformAction(const ui::AXActionData& data) override; |
43 | 43 |
44 private: | 44 private: |
45 TestAXNodeWrapper(AXTree* tree, AXNode* node); | 45 TestAXNodeWrapper(AXTree* tree, AXNode* node); |
46 | 46 |
| 47 TestAXNodeWrapper* HitTestSyncInternal(int x, int y); |
| 48 |
47 AXTree* tree_; | 49 AXTree* tree_; |
48 AXNode* node_; | 50 AXNode* node_; |
49 AXPlatformNode* platform_node_; | 51 AXPlatformNode* platform_node_; |
50 }; | 52 }; |
51 | 53 |
52 } // namespace ui | 54 } // namespace ui |
53 | 55 |
54 #endif // UI_ACCESSIBILITY_PLATFORM_TEST_AX_NODE_WRAPPER_H_ | 56 #endif // UI_ACCESSIBILITY_PLATFORM_TEST_AX_NODE_WRAPPER_H_ |
OLD | NEW |