OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/browser/accessibility/browser_accessibility.h" | 5 #include "content/browser/accessibility/browser_accessibility.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 | 10 |
(...skipping 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1223 bounds.Offset(-sx, -sy); | 1223 bounds.Offset(-sx, -sy); |
1224 } | 1224 } |
1225 } | 1225 } |
1226 | 1226 |
1227 node = container; | 1227 node = container; |
1228 } | 1228 } |
1229 | 1229 |
1230 return gfx::ToEnclosingRect(bounds); | 1230 return gfx::ToEnclosingRect(bounds); |
1231 } | 1231 } |
1232 | 1232 |
| 1233 // AXPlatformNodeDelegate. |
| 1234 const ui::AXNodeData& BrowserAccessibility::GetData() { |
| 1235 CR_DEFINE_STATIC_LOCAL(ui::AXNodeData, empty_data, ()); |
| 1236 NOTREACHED(); |
| 1237 return empty_data; |
| 1238 } |
| 1239 |
| 1240 gfx::NativeWindow BrowserAccessibility::GetTopLevelWidget() { |
| 1241 NOTREACHED(); |
| 1242 return nullptr; |
| 1243 } |
| 1244 |
| 1245 gfx::NativeViewAccessible BrowserAccessibility::GetParent() { |
| 1246 NOTREACHED(); |
| 1247 return nullptr; |
| 1248 } |
| 1249 |
| 1250 int BrowserAccessibility::GetChildCount() { |
| 1251 NOTREACHED(); |
| 1252 return -1; |
| 1253 } |
| 1254 |
| 1255 gfx::NativeViewAccessible BrowserAccessibility::ChildAtIndex(int index) { |
| 1256 NOTREACHED(); |
| 1257 return nullptr; |
| 1258 } |
| 1259 |
| 1260 gfx::Vector2d BrowserAccessibility::GetGlobalCoordinateOffset() { |
| 1261 NOTREACHED(); |
| 1262 return gfx::Vector2d(); |
| 1263 } |
| 1264 |
| 1265 gfx::NativeViewAccessible BrowserAccessibility::HitTestSync(int x, int y) { |
| 1266 NOTREACHED(); |
| 1267 return nullptr; |
| 1268 } |
| 1269 |
| 1270 gfx::NativeViewAccessible BrowserAccessibility::GetFocus() { |
| 1271 NOTREACHED(); |
| 1272 return nullptr; |
| 1273 } |
| 1274 |
| 1275 gfx::AcceleratedWidget |
| 1276 BrowserAccessibility::GetTargetForNativeAccessibilityEvent() { |
| 1277 NOTREACHED(); |
| 1278 return gfx::kNullAcceleratedWidget; |
| 1279 } |
| 1280 |
| 1281 bool BrowserAccessibility::AccessibilityPerformAction( |
| 1282 const ui::AXActionData& data) { |
| 1283 NOTREACHED(); |
| 1284 return false; |
| 1285 } |
| 1286 |
| 1287 void BrowserAccessibility::DoDefaultAction() { |
| 1288 NOTREACHED(); |
| 1289 } |
| 1290 |
1233 } // namespace content | 1291 } // namespace content |
OLD | NEW |