| 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/layout_constants.h" | 9 #include "chrome/browser/ui/layout_constants.h" |
| 10 #include "chrome/browser/ui/views/profiles/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 "components/signin/core/common/profile_management_switches.h" | 12 #include "components/signin/core/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(ENABLE_SUPERVISED_USERS) | 17 #if defined(ENABLE_SUPERVISED_USERS) |
| 18 #include "chrome/browser/ui/views/profiles/supervised_user_avatar_label.h" | 18 #include "chrome/browser/ui/views/profiles/supervised_user_avatar_label.h" |
| 19 #endif | 19 #endif |
| (...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 713 | 713 |
| 714 void OpaqueBrowserFrameViewLayout::ViewAdded(views::View* host, | 714 void OpaqueBrowserFrameViewLayout::ViewAdded(views::View* host, |
| 715 views::View* view) { | 715 views::View* view) { |
| 716 SetView(view->id(), view); | 716 SetView(view->id(), view); |
| 717 } | 717 } |
| 718 | 718 |
| 719 void OpaqueBrowserFrameViewLayout::ViewRemoved(views::View* host, | 719 void OpaqueBrowserFrameViewLayout::ViewRemoved(views::View* host, |
| 720 views::View* view) { | 720 views::View* view) { |
| 721 SetView(view->id(), nullptr); | 721 SetView(view->id(), nullptr); |
| 722 } | 722 } |
| OLD | NEW |