| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 | 6 |
| 7 #import "chrome/browser/ui/cocoa/browser/profile_chooser_controller.h" | 7 #import "chrome/browser/ui/cocoa/browser/profile_chooser_controller.h" |
| 8 | 8 |
| 9 #include "base/mac/bundle_locations.h" | 9 #include "base/mac/bundle_locations.h" |
| 10 #include "base/strings/sys_string_conversions.h" | 10 #include "base/strings/sys_string_conversions.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 #include "chrome/browser/ui/singleton_tabs.h" | 34 #include "chrome/browser/ui/singleton_tabs.h" |
| 35 #include "chrome/common/url_constants.h" | 35 #include "chrome/common/url_constants.h" |
| 36 #include "content/public/browser/notification_service.h" | 36 #include "content/public/browser/notification_service.h" |
| 37 #include "content/public/browser/web_contents.h" | 37 #include "content/public/browser/web_contents.h" |
| 38 #include "content/public/browser/web_contents_view.h" | 38 #include "content/public/browser/web_contents_view.h" |
| 39 #include "google_apis/gaia/oauth2_token_service.h" | 39 #include "google_apis/gaia/oauth2_token_service.h" |
| 40 #include "grit/chromium_strings.h" | 40 #include "grit/chromium_strings.h" |
| 41 #include "grit/generated_resources.h" | 41 #include "grit/generated_resources.h" |
| 42 #include "grit/theme_resources.h" | 42 #include "grit/theme_resources.h" |
| 43 #include "skia/ext/skia_utils_mac.h" | 43 #include "skia/ext/skia_utils_mac.h" |
| 44 #import "ui/base/cocoa/cocoa_event_utils.h" | 44 #import "ui/base/cocoa/cocoa_base_utils.h" |
| 45 #import "ui/base/cocoa/controls/blue_label_button.h" | 45 #import "ui/base/cocoa/controls/blue_label_button.h" |
| 46 #import "ui/base/cocoa/controls/hyperlink_button_cell.h" | 46 #import "ui/base/cocoa/controls/hyperlink_button_cell.h" |
| 47 #import "ui/base/cocoa/hover_image_button.h" | 47 #import "ui/base/cocoa/hover_image_button.h" |
| 48 #include "ui/base/cocoa/window_size_constants.h" | 48 #include "ui/base/cocoa/window_size_constants.h" |
| 49 #include "ui/base/l10n/l10n_util.h" | 49 #include "ui/base/l10n/l10n_util.h" |
| 50 #include "ui/base/l10n/l10n_util_mac.h" | 50 #include "ui/base/l10n/l10n_util_mac.h" |
| 51 #include "ui/base/resource/resource_bundle.h" | 51 #include "ui/base/resource/resource_bundle.h" |
| 52 #include "ui/gfx/image/image.h" | 52 #include "ui/gfx/image/image.h" |
| 53 #include "ui/gfx/text_elider.h" | 53 #include "ui/gfx/text_elider.h" |
| 54 #include "ui/native_theme/native_theme.h" | 54 #include "ui/native_theme/native_theme.h" |
| (...skipping 982 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1037 [button setImagePosition:NSImageRight]; | 1037 [button setImagePosition:NSImageRight]; |
| 1038 [button setTarget:self]; | 1038 [button setTarget:self]; |
| 1039 [button setAction:@selector(removeAccount:)]; | 1039 [button setAction:@selector(removeAccount:)]; |
| 1040 } | 1040 } |
| 1041 | 1041 |
| 1042 return button.autorelease(); | 1042 return button.autorelease(); |
| 1043 } | 1043 } |
| 1044 | 1044 |
| 1045 @end | 1045 @end |
| 1046 | 1046 |
| OLD | NEW |