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

Side by Side Diff: chrome/browser/ui/cocoa/profile_menu_controller.h

Issue 8230011: [Mac/multiprofile] "Customize User..." should edit the currently active profile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PROFILE_MENU_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_PROFILE_MENU_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_PROFILE_MENU_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_PROFILE_MENU_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
(...skipping 21 matching lines...) Expand all
32 32
33 // The main menu item to which the profile menu is attached. 33 // The main menu item to which the profile menu is attached.
34 __weak NSMenuItem* mainMenuItem_; 34 __weak NSMenuItem* mainMenuItem_;
35 } 35 }
36 36
37 // Designated initializer. 37 // Designated initializer.
38 - (id)initWithMainMenuItem:(NSMenuItem*)item; 38 - (id)initWithMainMenuItem:(NSMenuItem*)item;
39 39
40 // Actions for the menu items. 40 // Actions for the menu items.
41 - (IBAction)switchToProfile:(id)sender; 41 - (IBAction)switchToProfile:(id)sender;
42 - (IBAction)editCurrentProfile:(id)sender;
42 - (IBAction)editProfile:(id)sender; 43 - (IBAction)editProfile:(id)sender;
43 - (IBAction)newProfile:(id)sender; 44 - (IBAction)newProfile:(id)sender;
44 45
45 @end 46 @end
46 47
47 @interface ProfileMenuController (PrivateExposedForTesting) 48 @interface ProfileMenuController (PrivateExposedForTesting)
48 - (NSMenu*)menu; 49 - (NSMenu*)menu;
49 - (void)rebuildMenu; 50 - (void)rebuildMenu;
50 - (NSMenuItem*)createItemWithTitle:(NSString*)title action:(SEL)sel; 51 - (NSMenuItem*)createItemWithTitle:(NSString*)title action:(SEL)sel;
51 - (void)activeBrowserChangedTo:(Browser*)browser; 52 - (void)activeBrowserChangedTo:(Browser*)browser;
52 @end 53 @end
53 54
54 #endif // CHROME_BROWSER_UI_COCOA_PROFILE_MENU_CONTROLLER_H_ 55 #endif // CHROME_BROWSER_UI_COCOA_PROFILE_MENU_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698