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

Side by Side Diff: chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h

Issue 127253004: Support displaying the avatar label on the right side. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address nits. Created 6 years, 11 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_H_
7 7
8 #include "chrome/browser/ui/views/frame/opaque_browser_frame_view.h" 8 #include "chrome/browser/ui/views/frame/opaque_browser_frame_view.h"
9 #include "ui/views/layout/layout_manager.h" 9 #include "ui/views/layout/layout_manager.h"
10 #include "ui/views/window/frame_buttons.h" 10 #include "ui/views/window/frame_buttons.h"
11 11
12 class AvatarLabel;
12 class AvatarMenuButton; 13 class AvatarMenuButton;
13 class NewAvatarButton; 14 class NewAvatarButton;
14 class OpaqueBrowserFrameViewLayoutDelegate; 15 class OpaqueBrowserFrameViewLayoutDelegate;
15 16
16 namespace views { 17 namespace views {
17 class ImageButton; 18 class ImageButton;
18 class Label; 19 class Label;
19 } 20 }
20 21
21 // Calculates the position of the widgets in the opaque browser frame view. 22 // Calculates the position of the widgets in the opaque browser frame view.
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 178
178 // Window controls. 179 // Window controls.
179 views::ImageButton* minimize_button_; 180 views::ImageButton* minimize_button_;
180 views::ImageButton* maximize_button_; 181 views::ImageButton* maximize_button_;
181 views::ImageButton* restore_button_; 182 views::ImageButton* restore_button_;
182 views::ImageButton* close_button_; 183 views::ImageButton* close_button_;
183 184
184 views::View* window_icon_; 185 views::View* window_icon_;
185 views::Label* window_title_; 186 views::Label* window_title_;
186 187
187 views::View* avatar_label_; 188 AvatarLabel* avatar_label_;
188 AvatarMenuButton* avatar_button_; 189 AvatarMenuButton* avatar_button_;
189 views::View* new_avatar_button_; 190 views::View* new_avatar_button_;
190 191
191 std::vector<views::FrameButton> leading_buttons_; 192 std::vector<views::FrameButton> leading_buttons_;
192 std::vector<views::FrameButton> trailing_buttons_; 193 std::vector<views::FrameButton> trailing_buttons_;
193 194
194 DISALLOW_COPY_AND_ASSIGN(OpaqueBrowserFrameViewLayout); 195 DISALLOW_COPY_AND_ASSIGN(OpaqueBrowserFrameViewLayout);
195 }; 196 };
196 197
197 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_H_ 198 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_LAYOUT_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/avatar_label.cc ('k') | chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698