OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |