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

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

Issue 7313007: [Mac] Remove ProfileMenuButton now that AvatarButton exists. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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
« no previous file with comments | « chrome/app/nibs/BrowserWindow.xib ('k') | chrome/browser/ui/cocoa/profile_menu_button.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index 59b59e2d0ff28d4d001fbe1d5971f21b071ffa1a..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/cocoa/profile_menu_button.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_COCOA_PROFILE_MENU_BUTTON_H_
-#define CHROME_BROWSER_UI_COCOA_PROFILE_MENU_BUTTON_H_
-#pragma once
-
-#import <Cocoa/Cocoa.h>
-
-#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 : MenuButton {
- @private
- BOOL shouldShowProfileDisplayName_;
- scoped_nsobject<NSTextFieldCell> textFieldCell_;
-
- scoped_nsobject<NSImage> cachedTabImage_;
- // Cache the various button states when creating |cachedTabImage_|. If
- // any of these states change then the cached image is invalidated.
- BOOL cachedTabImageIsPressed_;
-
- // The popup menu and its model.
- scoped_nsobject<MenuController> menu_;
- scoped_ptr<ProfileMenuModel> profile_menu_model_;
-}
-
-@property(assign,nonatomic) BOOL shouldShowProfileDisplayName;
-@property(assign,nonatomic) NSString* profileDisplayName;
-
-// Gets the size of the control that would display all its contents.
-- (NSSize)desiredControlSize;
-// Gets the minimum size that the control should be resized to.
-- (NSSize)minControlSize;
-
-@end
-
-#endif // CHROME_BROWSER_UI_COCOA_PROFILE_MENU_BUTTON_H_
« no previous file with comments | « chrome/app/nibs/BrowserWindow.xib ('k') | chrome/browser/ui/cocoa/profile_menu_button.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698