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 #ifndef CHROME_BROWSER_UI_COCOA_PROFILES_PROFILE_CHOOSER_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_PROFILES_PROFILE_CHOOSER_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_PROFILES_PROFILE_CHOOSER_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_PROFILES_PROFILE_CHOOSER_CONTROLLER_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <memory> | 11 #include <memory> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "chrome/browser/profiles/profile_metrics.h" | 14 #include "chrome/browser/profiles/profile_metrics.h" |
15 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" | 15 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" |
16 #include "chrome/browser/ui/profile_chooser_constants.h" | 16 #include "chrome/browser/ui/profile_chooser_constants.h" |
17 #include "components/signin/core/browser/signin_header_helper.h" | 17 #include "components/signin/core/browser/signin_header_helper.h" |
18 | 18 |
19 class AvatarMenu; | 19 class AvatarMenu; |
20 class ActiveProfileObserverBridge; | 20 class ActiveProfileObserverBridge; |
21 class Browser; | 21 class Browser; |
22 class ProfileOAuth2TokenService; | |
23 | 22 |
24 namespace content { | 23 namespace content { |
25 class WebContents; | 24 class WebContents; |
26 } | 25 } |
27 | 26 |
28 namespace signin_metrics { | 27 namespace signin_metrics { |
29 enum class AccessPoint; | 28 enum class AccessPoint; |
30 } | 29 } |
31 | 30 |
32 class GaiaWebContentsDelegate; | 31 class GaiaWebContentsDelegate; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 @interface ProfileChooserController (ExposedForTesting) | 137 @interface ProfileChooserController (ExposedForTesting) |
139 - (id)initWithBrowser:(Browser*)browser | 138 - (id)initWithBrowser:(Browser*)browser |
140 anchoredAt:(NSPoint)point | 139 anchoredAt:(NSPoint)point |
141 viewMode:(profiles::BubbleViewMode)viewMode | 140 viewMode:(profiles::BubbleViewMode)viewMode |
142 tutorialMode:(profiles::TutorialMode)tutorialMode | 141 tutorialMode:(profiles::TutorialMode)tutorialMode |
143 serviceType:(signin::GAIAServiceType)GAIAServiceType; | 142 serviceType:(signin::GAIAServiceType)GAIAServiceType; |
144 - (IBAction)dismissTutorial:(id)sender; | 143 - (IBAction)dismissTutorial:(id)sender; |
145 @end | 144 @end |
146 | 145 |
147 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_PROFILE_CHOOSER_CONTROLLER_H_ | 146 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_PROFILE_CHOOSER_CONTROLLER_H_ |
OLD | NEW |