| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #import "ui/views/cocoa/bridged_content_view.h" | 5 #import "ui/views/cocoa/bridged_content_view.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #import "base/mac/mac_util.h" | 8 #import "base/mac/mac_util.h" |
| 9 #import "base/mac/scoped_nsobject.h" | 9 #import "base/mac/scoped_nsobject.h" |
| 10 #include "base/strings/sys_string_conversions.h" | 10 #include "base/strings/sys_string_conversions.h" |
| (...skipping 1344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1355 return @[ hostedView_->GetNativeViewAccessible() ]; | 1355 return @[ hostedView_->GetNativeViewAccessible() ]; |
| 1356 } | 1356 } |
| 1357 | 1357 |
| 1358 return [super accessibilityAttributeValue:attribute]; | 1358 return [super accessibilityAttributeValue:attribute]; |
| 1359 } | 1359 } |
| 1360 | 1360 |
| 1361 - (id)accessibilityHitTest:(NSPoint)point { | 1361 - (id)accessibilityHitTest:(NSPoint)point { |
| 1362 return [hostedView_->GetNativeViewAccessible() accessibilityHitTest:point]; | 1362 return [hostedView_->GetNativeViewAccessible() accessibilityHitTest:point]; |
| 1363 } | 1363 } |
| 1364 | 1364 |
| 1365 - (id)accessibilityFocusedUIElement { |
| 1366 if (!hostedView_) |
| 1367 return nil; |
| 1368 return [hostedView_->GetNativeViewAccessible() accessibilityFocusedUIElement]; |
| 1369 } |
| 1370 |
| 1365 @end | 1371 @end |
| OLD | NEW |