OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/chrome_browser_application_mac.h" | 5 #import "chrome/browser/chrome_browser_application_mac.h" |
6 | 6 |
7 #import "base/logging.h" | 7 #import "base/logging.h" |
8 #import "base/mac/mac_util.h" | 8 #import "base/mac/mac_util.h" |
9 #import "base/mac/scoped_nsexception_enabler.h" | 9 #import "base/mac/scoped_nsexception_enabler.h" |
10 #import "base/metrics/histogram.h" | 10 #import "base/metrics/histogram.h" |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 @"Application Support/SIMBL/Plugins/", | 156 @"Application Support/SIMBL/Plugins/", |
157 | 157 |
158 #if !defined(__LP64__) | 158 #if !defined(__LP64__) |
159 // Contextual menu manager plug-ins are unavailable to 64-bit processes. | 159 // Contextual menu manager plug-ins are unavailable to 64-bit processes. |
160 // http://developer.apple.com/library/mac/releasenotes/Cocoa/AppKitOlderNote
s.html#NSMenu | 160 // http://developer.apple.com/library/mac/releasenotes/Cocoa/AppKitOlderNote
s.html#NSMenu |
161 @"Contextual Menu Items/", | 161 @"Contextual Menu Items/", |
162 | 162 |
163 // Input managers are deprecated, would only be loaded under specific | 163 // Input managers are deprecated, would only be loaded under specific |
164 // circumstances, and are entirely unavailable to 64-bit processes. | 164 // circumstances, and are entirely unavailable to 64-bit processes. |
165 // http://developer.apple.com/library/mac/releasenotes/Cocoa/AppKitOlderNote
s.html#NSInputManager | 165 // http://developer.apple.com/library/mac/releasenotes/Cocoa/AppKitOlderNote
s.html#NSInputManager |
166 @"Input Managers/", | 166 @"InputManagers/", |
167 #endif // __LP64__ | 167 #endif // __LP64__ |
168 | 168 |
169 // Don't load third-party scripting additions either. | 169 // Don't load third-party scripting additions either. |
170 @"ScriptingAdditions/" | 170 @"ScriptingAdditions/" |
171 | 171 |
172 // This list is intentionally incomplete. For example, it doesn't block | 172 // This list is intentionally incomplete. For example, it doesn't block |
173 // printer drivers or Internet plug-ins. | 173 // printer drivers or Internet plug-ins. |
174 }; | 174 }; |
175 | 175 |
176 NSString* bundlePath = [self bundlePath]; | 176 NSString* bundlePath = [self bundlePath]; |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 if (RenderViewHost* rvh = contents->render_view_host()) { | 521 if (RenderViewHost* rvh = contents->render_view_host()) { |
522 rvh->EnableRendererAccessibility(); | 522 rvh->EnableRendererAccessibility(); |
523 } | 523 } |
524 } | 524 } |
525 } | 525 } |
526 } | 526 } |
527 return [super accessibilitySetValue:value forAttribute:attribute]; | 527 return [super accessibilitySetValue:value forAttribute:attribute]; |
528 } | 528 } |
529 | 529 |
530 @end | 530 @end |
OLD | NEW |