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 #import "chrome/browser/ui/cocoa/extensions/extension_install_view_controller.h" | 5 #import "chrome/browser/ui/cocoa/extensions/extension_install_view_controller.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/auto_reset.h" | 9 #include "base/auto_reset.h" |
8 #include "base/i18n/rtl.h" | 10 #include "base/i18n/rtl.h" |
9 #include "base/mac/bundle_locations.h" | 11 #include "base/mac/bundle_locations.h" |
10 #include "base/mac/mac_util.h" | 12 #include "base/mac/mac_util.h" |
11 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
12 #include "base/strings/sys_string_conversions.h" | 14 #include "base/strings/sys_string_conversions.h" |
13 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
14 #include "chrome/browser/extensions/bundle_installer.h" | 16 #include "chrome/browser/extensions/bundle_installer.h" |
15 #include "chrome/browser/profiles/profile.h" | 17 #include "chrome/browser/profiles/profile.h" |
16 #include "chrome/browser/ui/browser.h" | 18 #include "chrome/browser/ui/browser.h" |
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
854 } | 856 } |
855 | 857 |
856 - (void)accessibilityPerformAction:(NSString*)action { | 858 - (void)accessibilityPerformAction:(NSString*)action { |
857 if ([action isEqualToString:NSAccessibilityPressAction]) | 859 if ([action isEqualToString:NSAccessibilityPressAction]) |
858 [self handleLinkClicked]; | 860 [self handleLinkClicked]; |
859 else | 861 else |
860 [super accessibilityPerformAction:action]; | 862 [super accessibilityPerformAction:action]; |
861 } | 863 } |
862 | 864 |
863 @end | 865 @end |
OLD | NEW |