Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(445)

Side by Side Diff: ui/accessibility/platform/test_ax_node_wrapper.cc

Issue 2119413004: a11y: Exclude children of nested keyboard accessible controls from a11y tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Before revert of cross-platform ignored a11y elements. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ui/accessibility/platform/test_ax_node_wrapper.h ('k') | ui/views/accessibility/native_view_accessibility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698