OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_ |
7 | 7 |
8 #include "chrome/browser/ui/views/profiles/new_avatar_button.h" | 8 #include "chrome/browser/ui/views/profiles/new_avatar_button.h" |
9 #include "ui/views/window/non_client_view.h" | 9 #include "ui/views/window/non_client_view.h" |
10 | 10 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 // The frame that hosts this view. | 65 // The frame that hosts this view. |
66 BrowserFrame* frame_; | 66 BrowserFrame* frame_; |
67 | 67 |
68 // The BrowserView hosted within this View. | 68 // The BrowserView hosted within this View. |
69 BrowserView* browser_view_; | 69 BrowserView* browser_view_; |
70 | 70 |
71 // Menu button that displays that either the incognito icon or the profile | 71 // Menu button that displays that either the incognito icon or the profile |
72 // icon. May be NULL for some frame styles. | 72 // icon. May be NULL for some frame styles. |
73 AvatarMenuButton* avatar_button_; | 73 AvatarMenuButton* avatar_button_; |
74 | 74 |
75 // Avatar label that is used for a managed user. | 75 // Avatar label that is used for a supervised user. |
76 AvatarLabel* avatar_label_; | 76 AvatarLabel* avatar_label_; |
77 | 77 |
78 // Menu button that displays the name of the active or guest profile. | 78 // Menu button that displays the name of the active or guest profile. |
79 // May be NULL and will not be displayed for off the record profiles. | 79 // May be NULL and will not be displayed for off the record profiles. |
80 NewAvatarButton* new_avatar_button_; | 80 NewAvatarButton* new_avatar_button_; |
81 }; | 81 }; |
82 | 82 |
83 namespace chrome { | 83 namespace chrome { |
84 | 84 |
85 // Provided by a browser_non_client_frame_view_factory_*.cc implementation | 85 // Provided by a browser_non_client_frame_view_factory_*.cc implementation |
86 BrowserNonClientFrameView* CreateBrowserNonClientFrameView( | 86 BrowserNonClientFrameView* CreateBrowserNonClientFrameView( |
87 BrowserFrame* frame, BrowserView* browser_view); | 87 BrowserFrame* frame, BrowserView* browser_view); |
88 | 88 |
89 } // namespace chrome | 89 } // namespace chrome |
90 | 90 |
91 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_ | 91 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_ |
OLD | NEW |