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

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

Issue 229293002: [Win] Move profile related UI from ui/views/ to ui/views/profiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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 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 #include "chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h" 5 #include "chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "chrome/browser/profiles/profiles_state.h" 8 #include "chrome/browser/profiles/profiles_state.h"
9 #include "chrome/browser/ui/views/avatar_label.h" 9 #include "chrome/browser/ui/views/profiles/avatar_label.h"
10 #include "chrome/browser/ui/views/avatar_menu_button.h" 10 #include "chrome/browser/ui/views/profiles/avatar_menu_button.h"
11 #include "chrome/common/chrome_switches.h" 11 #include "chrome/common/chrome_switches.h"
12 #include "chrome/common/profile_management_switches.h" 12 #include "chrome/common/profile_management_switches.h"
13 #include "ui/gfx/font.h" 13 #include "ui/gfx/font.h"
14 #include "ui/views/controls/button/image_button.h" 14 #include "ui/views/controls/button/image_button.h"
15 #include "ui/views/controls/label.h" 15 #include "ui/views/controls/label.h"
16 16
17 #if defined(OS_WIN) 17 #if defined(OS_WIN)
18 #include "win8/util/win8_util.h" 18 #include "win8/util/win8_util.h"
19 #endif // OS_WIN 19 #endif // OS_WIN
20 20
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 701
702 void OpaqueBrowserFrameViewLayout::ViewAdded(views::View* host, 702 void OpaqueBrowserFrameViewLayout::ViewAdded(views::View* host,
703 views::View* view) { 703 views::View* view) {
704 SetView(view->id(), view); 704 SetView(view->id(), view);
705 } 705 }
706 706
707 void OpaqueBrowserFrameViewLayout::ViewRemoved(views::View* host, 707 void OpaqueBrowserFrameViewLayout::ViewRemoved(views::View* host,
708 views::View* view) { 708 views::View* view) {
709 SetView(view->id(), NULL); 709 SetView(view->id(), NULL);
710 } 710 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698