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 <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 gfx::Rect GetScreenBoundsRect() const override { return gfx::Rect(); } | 99 gfx::Rect GetScreenBoundsRect() const override { return gfx::Rect(); } |
100 | 100 |
101 gfx::NativeViewAccessible HitTestSync(int x, int y) override { | 101 gfx::NativeViewAccessible HitTestSync(int x, int y) override { |
102 return nullptr; | 102 return nullptr; |
103 } | 103 } |
104 | 104 |
105 gfx::NativeViewAccessible GetFocus() override { | 105 gfx::NativeViewAccessible GetFocus() override { |
106 return nullptr; | 106 return nullptr; |
107 } | 107 } |
108 | 108 |
| 109 ui::AXPlatformNode* GetFromNodeID(int32_t id) override { return nullptr; } |
| 110 |
109 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override { | 111 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override { |
110 return gfx::kNullAcceleratedWidget; | 112 return gfx::kNullAcceleratedWidget; |
111 } | 113 } |
112 | 114 |
113 bool AccessibilityPerformAction(const ui::AXActionData& data) override { | 115 bool AccessibilityPerformAction(const ui::AXActionData& data) override { |
114 return false; | 116 return false; |
115 } | 117 } |
116 | 118 |
117 bool ShouldIgnoreHoveredStateForTesting() override { return false; } | 119 bool ShouldIgnoreHoveredStateForTesting() override { return false; } |
118 | 120 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 } | 168 } |
167 | 169 |
168 gfx::NativeViewAccessible NativeViewAccessibilityAuraLinux::GetParent() { | 170 gfx::NativeViewAccessible NativeViewAccessibilityAuraLinux::GetParent() { |
169 gfx::NativeViewAccessible parent = NativeViewAccessibilityBase::GetParent(); | 171 gfx::NativeViewAccessible parent = NativeViewAccessibilityBase::GetParent(); |
170 if (!parent) | 172 if (!parent) |
171 parent = AuraLinuxApplication::GetInstance()->GetNativeViewAccessible(); | 173 parent = AuraLinuxApplication::GetInstance()->GetNativeViewAccessible(); |
172 return parent; | 174 return parent; |
173 } | 175 } |
174 | 176 |
175 } // namespace views | 177 } // namespace views |
OLD | NEW |