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 "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 Loading... |
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 Loading... |
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 |
OLD | NEW |