| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_ASH_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ash/common/shell_observer.h" | 10 #include "ash/common/shell_observer.h" |
| 11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" | 13 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" |
| 14 #include "chrome/browser/ui/views/tab_icon_view_model.h" | 14 #include "chrome/browser/ui/views/tab_icon_view_model.h" |
| 15 | 15 |
| 16 class TabIconView; | 16 class TabIconView; |
| 17 class WebAppLeftHeaderView; | 17 class WebAppLeftHeaderView; |
| 18 | 18 |
| 19 namespace ash { | 19 namespace ash { |
| 20 class FrameCaptionButton; | |
| 21 class FrameCaptionButtonContainerView; | 20 class FrameCaptionButtonContainerView; |
| 22 class HeaderPainter; | 21 class HeaderPainter; |
| 23 } | 22 } |
| 24 | 23 |
| 25 namespace views { | |
| 26 class ImageButton; | |
| 27 class ToggleImageButton; | |
| 28 } | |
| 29 | |
| 30 class BrowserNonClientFrameViewAsh : public BrowserNonClientFrameView, | 24 class BrowserNonClientFrameViewAsh : public BrowserNonClientFrameView, |
| 31 public ash::ShellObserver, | 25 public ash::ShellObserver, |
| 32 public TabIconViewModel { | 26 public TabIconViewModel { |
| 33 public: | 27 public: |
| 34 BrowserNonClientFrameViewAsh(BrowserFrame* frame, BrowserView* browser_view); | 28 BrowserNonClientFrameViewAsh(BrowserFrame* frame, BrowserView* browser_view); |
| 35 ~BrowserNonClientFrameViewAsh() override; | 29 ~BrowserNonClientFrameViewAsh() override; |
| 36 | 30 |
| 37 void Init(); | 31 void Init(); |
| 38 | 32 |
| 39 // BrowserNonClientFrameView: | 33 // BrowserNonClientFrameView: |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 // For popups, the window icon. | 125 // For popups, the window icon. |
| 132 TabIconView* window_icon_; | 126 TabIconView* window_icon_; |
| 133 | 127 |
| 134 // Helper class for painting the header. | 128 // Helper class for painting the header. |
| 135 std::unique_ptr<ash::HeaderPainter> header_painter_; | 129 std::unique_ptr<ash::HeaderPainter> header_painter_; |
| 136 | 130 |
| 137 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewAsh); | 131 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewAsh); |
| 138 }; | 132 }; |
| 139 | 133 |
| 140 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ | 134 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ |
| OLD | NEW |