| 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> |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 // menu model updates for the active profile. | 41 // menu model updates for the active profile. |
| 42 std::unique_ptr<ActiveProfileObserverBridge> observer_; | 42 std::unique_ptr<ActiveProfileObserverBridge> observer_; |
| 43 | 43 |
| 44 // The browser that launched the bubble. Not owned. | 44 // The browser that launched the bubble. Not owned. |
| 45 Browser* browser_; | 45 Browser* browser_; |
| 46 | 46 |
| 47 // The id for the account that the user has requested to remove from the | 47 // The id for the account that the user has requested to remove from the |
| 48 // current profile. It is set in |showAccountRemovalView| and used in | 48 // current profile. It is set in |showAccountRemovalView| and used in |
| 49 // |removeAccount|. | 49 // |removeAccount|. |
| 50 std::string accountIdToRemove_; | 50 std::string accountIdToRemove_; |
| 51 NSButton *firstProfileView_; |
| 51 | 52 |
| 52 // Active view mode. | 53 // Active view mode. |
| 53 profiles::BubbleViewMode viewMode_; | 54 profiles::BubbleViewMode viewMode_; |
| 54 | 55 |
| 55 // The current tutorial mode. | 56 // The current tutorial mode. |
| 56 profiles::TutorialMode tutorialMode_; | 57 profiles::TutorialMode tutorialMode_; |
| 57 | 58 |
| 58 // List of the full, un-elided accounts for the active profile. The keys are | 59 // List of the full, un-elided accounts for the active profile. The keys are |
| 59 // generated used to tag the UI buttons, and the values are the original | 60 // generated used to tag the UI buttons, and the values are the original |
| 60 // emails displayed by the buttons. | 61 // emails displayed by the buttons. |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 @interface ProfileChooserController (ExposedForTesting) | 138 @interface ProfileChooserController (ExposedForTesting) |
| 138 - (id)initWithBrowser:(Browser*)browser | 139 - (id)initWithBrowser:(Browser*)browser |
| 139 anchoredAt:(NSPoint)point | 140 anchoredAt:(NSPoint)point |
| 140 viewMode:(profiles::BubbleViewMode)viewMode | 141 viewMode:(profiles::BubbleViewMode)viewMode |
| 141 tutorialMode:(profiles::TutorialMode)tutorialMode | 142 tutorialMode:(profiles::TutorialMode)tutorialMode |
| 142 serviceType:(signin::GAIAServiceType)GAIAServiceType; | 143 serviceType:(signin::GAIAServiceType)GAIAServiceType; |
| 143 - (IBAction)dismissTutorial:(id)sender; | 144 - (IBAction)dismissTutorial:(id)sender; |
| 144 @end | 145 @end |
| 145 | 146 |
| 146 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_PROFILE_CHOOSER_CONTROLLER_H_ | 147 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_PROFILE_CHOOSER_CONTROLLER_H_ |
| OLD | NEW |