| 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 <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 | 6 |
| 7 #import "chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h" | 7 #import "chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h" |
| 8 | 8 |
| 9 #include "base/mac/bundle_locations.h" | 9 #include "base/mac/bundle_locations.h" |
| 10 #include "base/prefs/pref_service.h" | 10 #include "base/prefs/pref_service.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #include "chrome/browser/ui/browser_dialogs.h" | 28 #include "chrome/browser/ui/browser_dialogs.h" |
| 29 #include "chrome/browser/ui/browser_window.h" | 29 #include "chrome/browser/ui/browser_window.h" |
| 30 #include "chrome/browser/ui/chrome_pages.h" | 30 #include "chrome/browser/ui/chrome_pages.h" |
| 31 #include "chrome/browser/ui/chrome_style.h" | 31 #include "chrome/browser/ui/chrome_style.h" |
| 32 #import "chrome/browser/ui/cocoa/hyperlink_text_view.h" | 32 #import "chrome/browser/ui/cocoa/hyperlink_text_view.h" |
| 33 #import "chrome/browser/ui/cocoa/info_bubble_view.h" | 33 #import "chrome/browser/ui/cocoa/info_bubble_view.h" |
| 34 #import "chrome/browser/ui/cocoa/info_bubble_window.h" | 34 #import "chrome/browser/ui/cocoa/info_bubble_window.h" |
| 35 #import "chrome/browser/ui/cocoa/profiles/user_manager_mac.h" | 35 #import "chrome/browser/ui/cocoa/profiles/user_manager_mac.h" |
| 36 #include "chrome/browser/ui/singleton_tabs.h" | 36 #include "chrome/browser/ui/singleton_tabs.h" |
| 37 #include "chrome/common/pref_names.h" | 37 #include "chrome/common/pref_names.h" |
| 38 #include "chrome/common/profile_management_switches.h" | |
| 39 #include "chrome/common/url_constants.h" | 38 #include "chrome/common/url_constants.h" |
| 39 #include "components/signin/core/common/profile_management_switches.h" |
| 40 #include "components/signin/core/browser/mutable_profile_oauth2_token_service.h" | 40 #include "components/signin/core/browser/mutable_profile_oauth2_token_service.h" |
| 41 #include "components/signin/core/browser/profile_oauth2_token_service.h" | 41 #include "components/signin/core/browser/profile_oauth2_token_service.h" |
| 42 #include "components/signin/core/browser/signin_manager.h" | 42 #include "components/signin/core/browser/signin_manager.h" |
| 43 #include "content/public/browser/notification_service.h" | 43 #include "content/public/browser/notification_service.h" |
| 44 #include "content/public/browser/web_contents.h" | 44 #include "content/public/browser/web_contents.h" |
| 45 #include "content/public/browser/web_contents_view.h" | 45 #include "content/public/browser/web_contents_view.h" |
| 46 #include "google_apis/gaia/oauth2_token_service.h" | 46 #include "google_apis/gaia/oauth2_token_service.h" |
| 47 #include "grit/chromium_strings.h" | 47 #include "grit/chromium_strings.h" |
| 48 #include "grit/generated_resources.h" | 48 #include "grit/generated_resources.h" |
| 49 #include "grit/theme_resources.h" | 49 #include "grit/theme_resources.h" |
| (...skipping 1381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1431 [button setImage:ui::ResourceBundle::GetSharedInstance(). | 1431 [button setImage:ui::ResourceBundle::GetSharedInstance(). |
| 1432 GetNativeImageNamed(IDR_CLOSE_1).ToNSImage()]; | 1432 GetNativeImageNamed(IDR_CLOSE_1).ToNSImage()]; |
| 1433 [button setImagePosition:NSImageRight]; | 1433 [button setImagePosition:NSImageRight]; |
| 1434 [button setTarget:self]; | 1434 [button setTarget:self]; |
| 1435 [button setAction:@selector(showAccountRemovalView:)]; | 1435 [button setAction:@selector(showAccountRemovalView:)]; |
| 1436 | 1436 |
| 1437 return button.autorelease(); | 1437 return button.autorelease(); |
| 1438 } | 1438 } |
| 1439 | 1439 |
| 1440 @end | 1440 @end |
| OLD | NEW |