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 #include "base/containers/hash_tables.h" | 5 #include "base/containers/hash_tables.h" |
6 #include "ui/accessibility/ax_action_data.h" | 6 #include "ui/accessibility/ax_action_data.h" |
7 #include "ui/accessibility/platform/test_ax_node_wrapper.h" | 7 #include "ui/accessibility/platform/test_ax_node_wrapper.h" |
8 #include "ui/gfx/geometry/rect_conversions.h" | 8 #include "ui/gfx/geometry/rect_conversions.h" |
9 | 9 |
10 namespace ui { | 10 namespace ui { |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 gfx::AcceleratedWidget | 122 gfx::AcceleratedWidget |
123 TestAXNodeWrapper::GetTargetForNativeAccessibilityEvent() { | 123 TestAXNodeWrapper::GetTargetForNativeAccessibilityEvent() { |
124 return gfx::kNullAcceleratedWidget; | 124 return gfx::kNullAcceleratedWidget; |
125 } | 125 } |
126 | 126 |
127 bool TestAXNodeWrapper::AccessibilityPerformAction( | 127 bool TestAXNodeWrapper::AccessibilityPerformAction( |
128 const ui::AXActionData& data) { | 128 const ui::AXActionData& data) { |
129 return true; | 129 return true; |
130 } | 130 } |
131 | 131 |
| 132 bool TestAXNodeWrapper::ShouldIgnoreHoveredStateForTesting() { |
| 133 return true; |
| 134 } |
| 135 |
132 TestAXNodeWrapper::TestAXNodeWrapper(AXTree* tree, AXNode* node) | 136 TestAXNodeWrapper::TestAXNodeWrapper(AXTree* tree, AXNode* node) |
133 : tree_(tree), | 137 : tree_(tree), |
134 node_(node), | 138 node_(node), |
135 platform_node_(AXPlatformNode::Create(this)) { | 139 platform_node_(AXPlatformNode::Create(this)) { |
136 } | 140 } |
137 | 141 |
138 } // namespace ui | 142 } // namespace ui |
OLD | NEW |