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/platform/test_ax_node_wrapper.h" | 6 #include "ui/accessibility/platform/test_ax_node_wrapper.h" |
7 | 7 |
8 namespace ui { | 8 namespace ui { |
9 | 9 |
10 namespace { | 10 namespace { |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 } | 104 } |
105 | 105 |
106 gfx::NativeViewAccessible TestAXNodeWrapper::HitTestSync(int x, int y) { | 106 gfx::NativeViewAccessible TestAXNodeWrapper::HitTestSync(int x, int y) { |
107 return nullptr; | 107 return nullptr; |
108 } | 108 } |
109 | 109 |
110 gfx::NativeViewAccessible TestAXNodeWrapper::GetFocus() { | 110 gfx::NativeViewAccessible TestAXNodeWrapper::GetFocus() { |
111 return nullptr; | 111 return nullptr; |
112 } | 112 } |
113 | 113 |
| 114 bool TestAXNodeWrapper::IsIgnored() { |
| 115 return false; |
| 116 } |
| 117 |
114 gfx::AcceleratedWidget | 118 gfx::AcceleratedWidget |
115 TestAXNodeWrapper::GetTargetForNativeAccessibilityEvent() { | 119 TestAXNodeWrapper::GetTargetForNativeAccessibilityEvent() { |
116 return gfx::kNullAcceleratedWidget; | 120 return gfx::kNullAcceleratedWidget; |
117 } | 121 } |
118 | 122 |
119 void TestAXNodeWrapper::DoDefaultAction() { | 123 void TestAXNodeWrapper::DoDefaultAction() { |
120 } | 124 } |
121 | 125 |
122 bool TestAXNodeWrapper::SetStringValue(const base::string16& new_value) { | 126 bool TestAXNodeWrapper::SetStringValue(const base::string16& new_value) { |
123 return false; | 127 return false; |
124 } | 128 } |
125 | 129 |
126 bool TestAXNodeWrapper::CanSetStringValue() { | 130 bool TestAXNodeWrapper::CanSetStringValue() { |
127 return false; | 131 return false; |
128 } | 132 } |
129 | 133 |
130 TestAXNodeWrapper::TestAXNodeWrapper(AXTree* tree, AXNode* node) | 134 TestAXNodeWrapper::TestAXNodeWrapper(AXTree* tree, AXNode* node) |
131 : tree_(tree), | 135 : tree_(tree), |
132 node_(node), | 136 node_(node), |
133 platform_node_(AXPlatformNode::Create(this)) { | 137 platform_node_(AXPlatformNode::Create(this)) { |
134 } | 138 } |
135 | 139 |
136 } // namespace ui | 140 } // namespace ui |
OLD | NEW |