Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(985)

Side by Side Diff: chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h

Issue 235833002: [Mac] Redesign the avatar bubble UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unittest broken by rebase Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 // Switches to a given profile. |sender| is an ProfileChooserItemController. 86 // Switches to a given profile. |sender| is an ProfileChooserItemController.
87 - (IBAction)switchToProfile:(id)sender; 87 - (IBAction)switchToProfile:(id)sender;
88 88
89 // Shows the User Manager. 89 // Shows the User Manager.
90 - (IBAction)showUserManager:(id)sender; 90 - (IBAction)showUserManager:(id)sender;
91 91
92 // Shows the account management view. 92 // Shows the account management view.
93 - (IBAction)showAccountManagement:(id)sender; 93 - (IBAction)showAccountManagement:(id)sender;
94 94
95 // Hides the account management view and shows the default view.
96 - (IBAction)hideAccountManagement:(id)sender;
97
95 // Locks the active profile. 98 // Locks the active profile.
96 - (IBAction)lockProfile:(id)sender; 99 - (IBAction)lockProfile:(id)sender;
97 100
98 // Shows the signin page. 101 // Shows the inline signin page.
99 - (IBAction)showSigninPage:(id)sender; 102 - (IBAction)showInlineSigninPage:(id)sender;
103
104 // Shows the signin tab in the browser.
105 - (IBAction)showTabbedSigninPage:(id)sender;
100 106
101 // Adds an account to the active profile. 107 // Adds an account to the active profile.
102 - (IBAction)addAccount:(id)sender; 108 - (IBAction)addAccount:(id)sender;
103 109
104 // Shows the account removal view to confirm removing the currently selected 110 // Shows the account removal view to confirm removing the currently selected
105 // account from the active profile if possible. 111 // account from the active profile if possible.
106 - (IBAction)showAccountRemovalView:(id)sender; 112 - (IBAction)showAccountRemovalView:(id)sender;
107 113
108 // Removes the current account |accountIdToRemove_| and relaunches the browser. 114 // Removes the current account |accountIdToRemove_| and relaunches the browser.
109 - (IBAction)removeAccountAndRelaunch:(id)sender; 115 - (IBAction)removeAccountAndRelaunch:(id)sender;
110 116
111 // Reset the WebContents used by the Gaia embedded view. 117 // Reset the WebContents used by the Gaia embedded view.
112 - (void)cleanUpEmbeddedViewContents; 118 - (void)cleanUpEmbeddedViewContents;
113 @end 119 @end
114 120
115 // Testing API ///////////////////////////////////////////////////////////////// 121 // Testing API /////////////////////////////////////////////////////////////////
116 122
117 @interface ProfileChooserController (ExposedForTesting) 123 @interface ProfileChooserController (ExposedForTesting)
118 - (id)initWithBrowser:(Browser*)browser 124 - (id)initWithBrowser:(Browser*)browser
119 anchoredAt:(NSPoint)point 125 anchoredAt:(NSPoint)point
120 withMode:(BubbleViewMode)mode; 126 withMode:(BubbleViewMode)mode;
121 @end 127 @end
122 128
123 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_PROFILE_CHOOSER_CONTROLLER_H_ 129 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_PROFILE_CHOOSER_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_list_desktop.cc ('k') | chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698