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

Side by Side Diff: chrome/browser/ui/views/avatar_menu_bubble_view.h

Issue 20656002: Add profile selector menu to app list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo app_list_service_mac changes Created 7 years, 4 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
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_VIEWS_AVATAR_MENU_BUBBLE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_AVATAR_MENU_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_AVATAR_MENU_BUBBLE_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_AVATAR_MENU_BUBBLE_VIEW_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "chrome/browser/profiles/avatar_menu_model_observer.h" 13 #include "chrome/browser/profiles/avatar_menu_model_observer.h"
14 #include "ui/views/bubble/bubble_delegate.h" 14 #include "ui/views/bubble/bubble_delegate.h"
15 #include "ui/views/controls/button/button.h" 15 #include "ui/views/controls/button/button.h"
16 #include "ui/views/controls/link_listener.h" 16 #include "ui/views/controls/link_listener.h"
17 17
18 class AvatarMenuModel;
19 class Browser; 18 class Browser;
tapted 2013/07/31 05:43:53 hm - what happened to the AvatarMenuModel forward-
calamity 2013/08/01 08:35:45 Done.
20 class ProfileItemView; 19 class ProfileItemView;
21 20
22 namespace content { 21 namespace content {
23 class WebContents; 22 class WebContents;
24 } 23 }
25 24
26 namespace views { 25 namespace views {
27 class CustomButton; 26 class CustomButton;
28 class ImageView; 27 class ImageView;
29 class Label; 28 class Label;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 static bool close_on_deactivate_; 127 static bool close_on_deactivate_;
129 128
130 // Is set to true if the managed user has clicked on Switch Users. 129 // Is set to true if the managed user has clicked on Switch Users.
131 bool expanded_; 130 bool expanded_;
132 131
133 DISALLOW_COPY_AND_ASSIGN(AvatarMenuBubbleView); 132 DISALLOW_COPY_AND_ASSIGN(AvatarMenuBubbleView);
134 FRIEND_TEST_ALL_PREFIXES(AvatarMenuButtonTest, SignOut); 133 FRIEND_TEST_ALL_PREFIXES(AvatarMenuButtonTest, SignOut);
135 }; 134 };
136 135
137 #endif // CHROME_BROWSER_UI_VIEWS_AVATAR_MENU_BUBBLE_VIEW_H_ 136 #endif // CHROME_BROWSER_UI_VIEWS_AVATAR_MENU_BUBBLE_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698