Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: chrome/browser/cocoa/tab_strip_view.mm

Issue 504059: First few accessibility tweaks. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/cocoa/tab_view.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/cocoa/tab_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698