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

Unified Diff: chrome/browser/ui/cocoa/profile_menu_button.h

Issue 7061001: Mac: Make ProfileMenuButton a MenuButton. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/profile_menu_button.h
diff --git a/chrome/browser/ui/cocoa/profile_menu_button.h b/chrome/browser/ui/cocoa/profile_menu_button.h
index ac8d4914690a840a038061b9e96280bef0b0af61..59b59e2d0ff28d4d001fbe1d5971f21b071ffa1a 100644
--- a/chrome/browser/ui/cocoa/profile_menu_button.h
+++ b/chrome/browser/ui/cocoa/profile_menu_button.h
@@ -10,12 +10,13 @@
#include "base/memory/scoped_nsobject.h"
#include "base/memory/scoped_ptr.h"
+#import "chrome/browser/ui/cocoa/menu_button.h"
#import "chrome/browser/ui/cocoa/menu_controller.h"
class ProfileMenuModel;
// PopUp button that shows the multiprofile menu.
-@interface ProfileMenuButton : NSPopUpButton {
+@interface ProfileMenuButton : MenuButton {
@private
BOOL shouldShowProfileDisplayName_;
scoped_nsobject<NSTextFieldCell> textFieldCell_;
@@ -38,10 +39,6 @@ class ProfileMenuModel;
// Gets the minimum size that the control should be resized to.
- (NSSize)minControlSize;
-// Public for testing.
-- (void) mouseDown:(NSEvent*)event
- withShowMenuTarget:(id)target;
-
@end
#endif // CHROME_BROWSER_UI_COCOA_PROFILE_MENU_BUTTON_H_

Powered by Google App Engine
This is Rietveld 408576698