OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_MUS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_MUS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_MUS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_MUS_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" | 12 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" |
13 #include "chrome/browser/ui/views/tab_icon_view_model.h" | 13 #include "chrome/browser/ui/views/tab_icon_view_model.h" |
14 #include "chrome/browser/ui/views/tabs/tab_strip_observer.h" | 14 #include "chrome/browser/ui/views/tabs/tab_strip_observer.h" |
15 | 15 |
16 #if !defined(OS_CHROMEOS) | 16 #if !defined(OS_CHROMEOS) |
17 #include "chrome/browser/ui/views/frame/avatar_button_manager.h" | 17 #include "chrome/browser/ui/views/frame/avatar_button_manager.h" |
18 #endif | 18 #endif |
19 | 19 |
20 class TabIconView; | 20 class TabIconView; |
21 class WebAppLeftHeaderView; | 21 class WebAppLeftHeaderView; |
22 | 22 |
23 namespace ui { | 23 namespace ui { |
24 class Window; | 24 class Window; |
25 } | 25 } |
26 | 26 |
27 namespace views { | |
28 class ImageButton; | |
29 class ToggleImageButton; | |
30 } | |
31 | |
32 class BrowserNonClientFrameViewMus : public BrowserNonClientFrameView, | 27 class BrowserNonClientFrameViewMus : public BrowserNonClientFrameView, |
33 public TabIconViewModel, | 28 public TabIconViewModel, |
34 public TabStripObserver { | 29 public TabStripObserver { |
35 public: | 30 public: |
36 static const char kViewClassName[]; | 31 static const char kViewClassName[]; |
37 | 32 |
38 BrowserNonClientFrameViewMus(BrowserFrame* frame, BrowserView* browser_view); | 33 BrowserNonClientFrameViewMus(BrowserFrame* frame, BrowserView* browser_view); |
39 ~BrowserNonClientFrameViewMus() override; | 34 ~BrowserNonClientFrameViewMus() override; |
40 | 35 |
41 void Init(); | 36 void Init(); |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 // Wrapper around the in-frame avatar switcher. | 132 // Wrapper around the in-frame avatar switcher. |
138 AvatarButtonManager profile_switcher_; | 133 AvatarButtonManager profile_switcher_; |
139 #endif | 134 #endif |
140 | 135 |
141 TabStrip* tab_strip_; | 136 TabStrip* tab_strip_; |
142 | 137 |
143 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewMus); | 138 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewMus); |
144 }; | 139 }; |
145 | 140 |
146 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_MUS_H_ | 141 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_MUS_H_ |
OLD | NEW |