| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 } | 112 } |
| 113 | 113 |
| 114 gfx::AcceleratedWidget | 114 gfx::AcceleratedWidget |
| 115 TestAXNodeWrapper::GetTargetForNativeAccessibilityEvent() { | 115 TestAXNodeWrapper::GetTargetForNativeAccessibilityEvent() { |
| 116 return gfx::kNullAcceleratedWidget; | 116 return gfx::kNullAcceleratedWidget; |
| 117 } | 117 } |
| 118 | 118 |
| 119 void TestAXNodeWrapper::DoDefaultAction() { | 119 void TestAXNodeWrapper::DoDefaultAction() { |
| 120 } | 120 } |
| 121 | 121 |
| 122 bool TestAXNodeWrapper::SetStringValue(const base::string16& new_value) { | 122 bool TestAXNodeWrapper::SetStringValue(const base::string16& new_value, |
| 123 bool clear_first) { |
| 123 return false; | 124 return false; |
| 124 } | 125 } |
| 125 | 126 |
| 126 bool TestAXNodeWrapper::CanSetStringValue() { | 127 bool TestAXNodeWrapper::CanSetStringValue() { |
| 127 return false; | 128 return false; |
| 128 } | 129 } |
| 129 | 130 |
| 130 TestAXNodeWrapper::TestAXNodeWrapper(AXTree* tree, AXNode* node) | 131 TestAXNodeWrapper::TestAXNodeWrapper(AXTree* tree, AXNode* node) |
| 131 : tree_(tree), | 132 : tree_(tree), |
| 132 node_(node), | 133 node_(node), |
| 133 platform_node_(AXPlatformNode::Create(this)) { | 134 platform_node_(AXPlatformNode::Create(this)) { |
| 134 } | 135 } |
| 135 | 136 |
| 136 } // namespace ui | 137 } // namespace ui |
| OLD | NEW |