OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/mus/frame/detached_title_area_renderer.h" | 5 #include "ash/mus/frame/detached_title_area_renderer.h" |
6 | 6 |
7 #include "ash/common/frame/header_view.h" | 7 #include "ash/common/frame/header_view.h" |
8 #include "ash/mus/bridge/wm_window_mus.h" | |
9 #include "ash/mus/frame/detached_title_area_renderer_host.h" | 8 #include "ash/mus/frame/detached_title_area_renderer_host.h" |
10 #include "ui/aura/window.h" | 9 #include "ui/aura/window.h" |
11 #include "ui/views/view.h" | 10 #include "ui/views/view.h" |
12 #include "ui/views/widget/native_widget_aura.h" | 11 #include "ui/views/widget/native_widget_aura.h" |
13 #include "ui/views/widget/widget.h" | 12 #include "ui/views/widget/widget.h" |
14 | 13 |
15 namespace ash { | 14 namespace ash { |
16 namespace mus { | 15 namespace mus { |
17 | 16 |
18 DetachedTitleAreaRenderer::DetachedTitleAreaRenderer( | 17 DetachedTitleAreaRenderer::DetachedTitleAreaRenderer( |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 void DetachedTitleAreaRenderer::DeleteDelegate() { | 64 void DetachedTitleAreaRenderer::DeleteDelegate() { |
66 if (host_) | 65 if (host_) |
67 host_->OnDetachedTitleAreaRendererDestroyed(this); | 66 host_->OnDetachedTitleAreaRendererDestroyed(this); |
68 delete this; | 67 delete this; |
69 } | 68 } |
70 | 69 |
71 DetachedTitleAreaRenderer::~DetachedTitleAreaRenderer() {} | 70 DetachedTitleAreaRenderer::~DetachedTitleAreaRenderer() {} |
72 | 71 |
73 } // namespace mus | 72 } // namespace mus |
74 } // namespace ash | 73 } // namespace ash |
OLD | NEW |