| 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 "chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.h" | 5 #import "chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.h" |
| 6 | 6 |
| 7 #include "base/mac/bundle_locations.h" | 7 #include "base/mac/bundle_locations.h" |
| 8 #include "base/mac/mac_util.h" | 8 #include "base/mac/mac_util.h" |
| 9 #include "base/strings/sys_string_conversions.h" | 9 #include "base/strings/sys_string_conversions.h" |
| 10 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
| 11 #include "chrome/browser/profiles/avatar_menu.h" | 11 #include "chrome/browser/profiles/avatar_menu.h" |
| 12 #include "chrome/browser/profiles/profile_info_cache.h" | 12 #include "chrome/browser/profiles/profile_info_cache.h" |
| 13 #include "chrome/browser/profiles/profile_manager.h" | 13 #include "chrome/browser/profiles/profile_manager.h" |
| 14 #include "chrome/browser/profiles/profile_metrics.h" | 14 #include "chrome/browser/profiles/profile_metrics.h" |
| 15 #include "chrome/browser/ui/browser.h" | 15 #include "chrome/browser/ui/browser.h" |
| 16 #include "chrome/browser/ui/browser_window.h" | 16 #include "chrome/browser/ui/browser_window.h" |
| 17 #import "chrome/browser/ui/cocoa/info_bubble_view.h" | 17 #import "chrome/browser/ui/cocoa/info_bubble_view.h" |
| 18 #import "chrome/browser/ui/cocoa/info_bubble_window.h" | 18 #import "chrome/browser/ui/cocoa/info_bubble_window.h" |
| 19 #include "grit/generated_resources.h" | 19 #include "chrome/grit/generated_resources.h" |
| 20 #include "grit/theme_resources.h" | 20 #include "grit/theme_resources.h" |
| 21 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMUILocalizerAndLayoutTw
eaker.h" | 21 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMUILocalizerAndLayoutTw
eaker.h" |
| 22 #import "ui/base/cocoa/cocoa_base_utils.h" |
| 22 #import "ui/base/cocoa/controls/hyperlink_button_cell.h" | 23 #import "ui/base/cocoa/controls/hyperlink_button_cell.h" |
| 23 #import "ui/base/cocoa/cocoa_base_utils.h" | |
| 24 #include "ui/base/l10n/l10n_util_mac.h" | 24 #include "ui/base/l10n/l10n_util_mac.h" |
| 25 #include "ui/base/resource/resource_bundle.h" | 25 #include "ui/base/resource/resource_bundle.h" |
| 26 #include "ui/gfx/image/image.h" | 26 #include "ui/gfx/image/image.h" |
| 27 | 27 |
| 28 @interface AvatarMenuBubbleController (Private) | 28 @interface AvatarMenuBubbleController (Private) |
| 29 - (AvatarMenu*)menu; | 29 - (AvatarMenu*)menu; |
| 30 - (NSView*)configureSupervisedUserInformation:(CGFloat)width; | 30 - (NSView*)configureSupervisedUserInformation:(CGFloat)width; |
| 31 - (NSButton*)configureNewUserButton:(CGFloat)yOffset | 31 - (NSButton*)configureNewUserButton:(CGFloat)yOffset |
| 32 updateWidthAdjust:(CGFloat*)widthAdjust; | 32 updateWidthAdjust:(CGFloat*)widthAdjust; |
| 33 - (NSButton*)configureSwitchUserButton:(CGFloat)yOffset | 33 - (NSButton*)configureSwitchUserButton:(CGFloat)yOffset |
| (...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 711 - (BOOL)accessibilityIsIgnored { | 711 - (BOOL)accessibilityIsIgnored { |
| 712 return YES; | 712 return YES; |
| 713 } | 713 } |
| 714 @end | 714 @end |
| 715 | 715 |
| 716 @implementation AccessibilityIgnoredTextFieldCell | 716 @implementation AccessibilityIgnoredTextFieldCell |
| 717 - (BOOL)accessibilityIsIgnored { | 717 - (BOOL)accessibilityIsIgnored { |
| 718 return YES; | 718 return YES; |
| 719 } | 719 } |
| 720 @end | 720 @end |
| OLD | NEW |