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

Side by Side Diff: ui/views/accessibility/native_view_accessibility_auralinux.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 "ui/views/accessibility/native_view_accessibility_auralinux.h" 5 #include "ui/views/accessibility/native_view_accessibility_auralinux.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 } 95 }
96 96
97 gfx::NativeViewAccessible HitTestSync(int x, int y) override { 97 gfx::NativeViewAccessible HitTestSync(int x, int y) override {
98 return nullptr; 98 return nullptr;
99 } 99 }
100 100
101 gfx::NativeViewAccessible GetFocus() override { 101 gfx::NativeViewAccessible GetFocus() override {
102 return nullptr; 102 return nullptr;
103 } 103 }
104 104
105 bool IsIgnored() override { return false; }
106
105 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override { 107 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override {
106 return gfx::kNullAcceleratedWidget; 108 return gfx::kNullAcceleratedWidget;
107 } 109 }
108 110
109 void DoDefaultAction() override { 111 void DoDefaultAction() override {
110 } 112 }
111 113
112 bool SetStringValue(const base::string16& new_value) override { 114 bool SetStringValue(const base::string16& new_value) override {
113 return false; 115 return false;
114 } 116 }
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 } 167 }
166 168
167 gfx::NativeViewAccessible NativeViewAccessibilityAuraLinux::GetParent() { 169 gfx::NativeViewAccessible NativeViewAccessibilityAuraLinux::GetParent() {
168 gfx::NativeViewAccessible parent = NativeViewAccessibility::GetParent(); 170 gfx::NativeViewAccessible parent = NativeViewAccessibility::GetParent();
169 if (!parent) 171 if (!parent)
170 parent = AuraLinuxApplication::GetInstance()->GetNativeViewAccessible(); 172 parent = AuraLinuxApplication::GetInstance()->GetNativeViewAccessible();
171 return parent; 173 return parent;
172 } 174 }
173 175
174 } // namespace views 176 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/accessibility/native_view_accessibility.cc ('k') | ui/views/accessibility/native_view_accessibility_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698