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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 gfx::AcceleratedWidget | 116 gfx::AcceleratedWidget |
117 TestAXNodeWrapper::GetTargetForNativeAccessibilityEvent() { | 117 TestAXNodeWrapper::GetTargetForNativeAccessibilityEvent() { |
118 return gfx::kNullAcceleratedWidget; | 118 return gfx::kNullAcceleratedWidget; |
119 } | 119 } |
120 | 120 |
121 bool TestAXNodeWrapper::AccessibilityPerformAction( | 121 bool TestAXNodeWrapper::AccessibilityPerformAction( |
122 const ui::AXActionData& data) { | 122 const ui::AXActionData& data) { |
123 return true; | 123 return true; |
124 } | 124 } |
125 | 125 |
| 126 bool TestAXNodeWrapper::IsHotTrackingOn() { |
| 127 return false; |
| 128 } |
| 129 |
126 TestAXNodeWrapper::TestAXNodeWrapper(AXTree* tree, AXNode* node) | 130 TestAXNodeWrapper::TestAXNodeWrapper(AXTree* tree, AXNode* node) |
127 : tree_(tree), | 131 : tree_(tree), |
128 node_(node), | 132 node_(node), |
129 platform_node_(AXPlatformNode::Create(this)) { | 133 platform_node_(AXPlatformNode::Create(this)) { |
130 } | 134 } |
131 | 135 |
132 } // namespace ui | 136 } // namespace ui |
OLD | NEW |