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 #include "ash/common/wm/panels/panel_frame_view.h" | 5 #include "ash/wm/panels/panel_frame_view.h" |
6 | 6 |
7 #include "ash/common/frame/caption_buttons/frame_caption_button_container_view.h
" | |
8 #include "ash/common/frame/default_header_painter.h" | |
9 #include "ash/common/frame/frame_border_hit_test.h" | |
10 #include "ash/common/wm_shell.h" | 7 #include "ash/common/wm_shell.h" |
11 #include "ash/common/wm_window.h" | 8 #include "ash/common/wm_window.h" |
| 9 #include "ash/frame/caption_buttons/frame_caption_button_container_view.h" |
| 10 #include "ash/frame/default_header_painter.h" |
| 11 #include "ash/frame/frame_border_hit_test.h" |
12 #include "ui/aura/client/aura_constants.h" | 12 #include "ui/aura/client/aura_constants.h" |
13 #include "ui/aura/window.h" | 13 #include "ui/aura/window.h" |
14 #include "ui/base/hit_test.h" | 14 #include "ui/base/hit_test.h" |
15 #include "ui/gfx/canvas.h" | 15 #include "ui/gfx/canvas.h" |
16 #include "ui/views/controls/image_view.h" | 16 #include "ui/views/controls/image_view.h" |
17 #include "ui/views/widget/widget.h" | 17 #include "ui/views/widget/widget.h" |
18 #include "ui/views/widget/widget_delegate.h" | 18 #include "ui/views/widget/widget_delegate.h" |
19 | 19 |
20 namespace ash { | 20 namespace ash { |
21 | 21 |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 | 151 |
152 void PanelFrameView::OnOverviewModeStarting() { | 152 void PanelFrameView::OnOverviewModeStarting() { |
153 caption_button_container_->SetVisible(false); | 153 caption_button_container_->SetVisible(false); |
154 } | 154 } |
155 | 155 |
156 void PanelFrameView::OnOverviewModeEnded() { | 156 void PanelFrameView::OnOverviewModeEnded() { |
157 caption_button_container_->SetVisible(true); | 157 caption_button_container_->SetVisible(true); |
158 } | 158 } |
159 | 159 |
160 } // namespace ash | 160 } // namespace ash |
OLD | NEW |