| 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 FrameBorderHitTestController; | |
| 21 class FrameCaptionButton; | 20 class FrameCaptionButton; |
| 22 class FrameCaptionButtonContainerView; | 21 class FrameCaptionButtonContainerView; |
| 23 class HeaderPainter; | 22 class HeaderPainter; |
| 24 } | 23 } |
| 25 | 24 |
| 26 namespace views { | 25 namespace views { |
| 27 class ImageButton; | 26 class ImageButton; |
| 28 class ToggleImageButton; | 27 class ToggleImageButton; |
| 29 } | 28 } |
| 30 | 29 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 // The holder for the buttons on the left side of the header. This is included | 131 // The holder for the buttons on the left side of the header. This is included |
| 133 // for web app style frames, and includes a back button and location icon. | 132 // for web app style frames, and includes a back button and location icon. |
| 134 WebAppLeftHeaderView* web_app_left_header_view_; | 133 WebAppLeftHeaderView* web_app_left_header_view_; |
| 135 | 134 |
| 136 // For popups, the window icon. | 135 // For popups, the window icon. |
| 137 TabIconView* window_icon_; | 136 TabIconView* window_icon_; |
| 138 | 137 |
| 139 // Helper class for painting the header. | 138 // Helper class for painting the header. |
| 140 std::unique_ptr<ash::HeaderPainter> header_painter_; | 139 std::unique_ptr<ash::HeaderPainter> header_painter_; |
| 141 | 140 |
| 142 // Updates the hittest bounds overrides based on the window show type. | |
| 143 std::unique_ptr<ash::FrameBorderHitTestController> | |
| 144 frame_border_hit_test_controller_; | |
| 145 | |
| 146 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewAsh); | 141 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewAsh); |
| 147 }; | 142 }; |
| 148 | 143 |
| 149 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ | 144 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ |
| OLD | NEW |