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 ASH_WM_PANELS_PANEL_FRAME_VIEW_H_ | 5 #ifndef ASH_WM_PANELS_PANEL_FRAME_VIEW_H_ |
6 #define ASH_WM_PANELS_PANEL_FRAME_VIEW_H_ | 6 #define ASH_WM_PANELS_PANEL_FRAME_VIEW_H_ |
7 | 7 |
oshima
2016/04/08 07:09:42
include ?
| |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "ui/views/window/non_client_view.h" | 10 #include "ui/views/window/non_client_view.h" |
11 | 11 |
12 namespace views { | 12 namespace views { |
13 class ImageView; | 13 class ImageView; |
14 } | 14 } |
15 | 15 |
16 namespace ash { | 16 namespace ash { |
17 class DefaultHeaderPainter; | 17 class DefaultHeaderPainter; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
61 void OnPaint(gfx::Canvas* canvas) override; | 61 void OnPaint(gfx::Canvas* canvas) override; |
62 | 62 |
63 // Child View class describing the panel's title bar behavior | 63 // Child View class describing the panel's title bar behavior |
64 // and buttons, owned by the view hierarchy | 64 // and buttons, owned by the view hierarchy |
65 views::Widget* frame_; | 65 views::Widget* frame_; |
66 FrameCaptionButtonContainerView* caption_button_container_; | 66 FrameCaptionButtonContainerView* caption_button_container_; |
67 views::ImageView* window_icon_; | 67 views::ImageView* window_icon_; |
68 gfx::Rect client_view_bounds_; | 68 gfx::Rect client_view_bounds_; |
69 | 69 |
70 // Helper class for painting the header. | 70 // Helper class for painting the header. |
71 scoped_ptr<DefaultHeaderPainter> header_painter_; | 71 std::unique_ptr<DefaultHeaderPainter> header_painter_; |
72 | 72 |
73 // Updates the hittest bounds overrides based on the window state type. | 73 // Updates the hittest bounds overrides based on the window state type. |
74 scoped_ptr<FrameBorderHitTestController> frame_border_hit_test_controller_; | 74 std::unique_ptr<FrameBorderHitTestController> |
75 frame_border_hit_test_controller_; | |
75 | 76 |
76 DISALLOW_COPY_AND_ASSIGN(PanelFrameView); | 77 DISALLOW_COPY_AND_ASSIGN(PanelFrameView); |
77 }; | 78 }; |
78 | 79 |
79 } | 80 } |
80 | 81 |
81 #endif // ASH_WM_PANELS_PANEL_FRAME_VIEW_H_ | 82 #endif // ASH_WM_PANELS_PANEL_FRAME_VIEW_H_ |
OLD | NEW |