| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "chrome/browser/cocoa/tab_strip_view.h" | 5 #import "chrome/browser/cocoa/tab_strip_view.h" |
| 6 | 6 |
| 7 #import "chrome/browser/cocoa/browser_window_controller.h" | 7 #import "chrome/browser/cocoa/browser_window_controller.h" |
| 8 #import "chrome/browser/cocoa/tab_strip_controller.h" | 8 #import "chrome/browser/cocoa/tab_strip_controller.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 | 10 |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 // (URLDropTarget protocol) | 158 // (URLDropTarget protocol) |
| 159 - (void)draggingExited:(id<NSDraggingInfo>)sender { | 159 - (void)draggingExited:(id<NSDraggingInfo>)sender { |
| 160 return [dropHandler_ draggingExited:sender]; | 160 return [dropHandler_ draggingExited:sender]; |
| 161 } | 161 } |
| 162 | 162 |
| 163 // (URLDropTarget protocol) | 163 // (URLDropTarget protocol) |
| 164 - (BOOL)performDragOperation:(id<NSDraggingInfo>)sender { | 164 - (BOOL)performDragOperation:(id<NSDraggingInfo>)sender { |
| 165 return [dropHandler_ performDragOperation:sender]; | 165 return [dropHandler_ performDragOperation:sender]; |
| 166 } | 166 } |
| 167 | 167 |
| 168 - (BOOL)accessibilityIsIgnored { |
| 169 return NO; |
| 170 } |
| 171 |
| 172 - (id)accessibilityAttributeValue:(NSString*)attribute { |
| 173 if ([attribute isEqual:NSAccessibilityRoleAttribute]) |
| 174 return NSAccessibilityGroupRole; |
| 175 |
| 176 return [super accessibilityAttributeValue:attribute]; |
| 177 } |
| 178 |
| 168 @end | 179 @end |
| OLD | NEW |