OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/status_layout_manager.h" | 5 #include "ash/mus/status_layout_manager.h" |
6 | 6 |
7 #include "ash/mus/property_util.h" | 7 #include "ash/mus/property_util.h" |
8 #include "ash/public/interfaces/ash_window_type.mojom.h" | 8 #include "ash/public/interfaces/ash_window_type.mojom.h" |
9 #include "components/mus/public/cpp/window.h" | 9 #include "services/ui/public/cpp/window.h" |
10 #include "ui/gfx/geometry/rect.h" | 10 #include "ui/gfx/geometry/rect.h" |
11 | 11 |
12 namespace ash { | 12 namespace ash { |
13 namespace mus { | 13 namespace mus { |
14 | 14 |
15 StatusLayoutManager::StatusLayoutManager(::mus::Window* owner) | 15 StatusLayoutManager::StatusLayoutManager(::mus::Window* owner) |
16 : LayoutManager(owner), | 16 : LayoutManager(owner), |
17 alignment_(mash::shelf::mojom::Alignment::BOTTOM), | 17 alignment_(mash::shelf::mojom::Alignment::BOTTOM), |
18 auto_hide_behavior_(mash::shelf::mojom::AutoHideBehavior::NEVER) { | 18 auto_hide_behavior_(mash::shelf::mojom::AutoHideBehavior::NEVER) { |
19 AddLayoutProperty(::mus::mojom::WindowManager::kPreferredSize_Property); | 19 AddLayoutProperty(::mus::mojom::WindowManager::kPreferredSize_Property); |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 mash::shelf::mojom::AutoHideBehavior auto_hide) { | 60 mash::shelf::mojom::AutoHideBehavior auto_hide) { |
61 if (auto_hide_behavior_ == auto_hide) | 61 if (auto_hide_behavior_ == auto_hide) |
62 return; | 62 return; |
63 | 63 |
64 auto_hide_behavior_ = auto_hide; | 64 auto_hide_behavior_ = auto_hide; |
65 NOTIMPLEMENTED(); | 65 NOTIMPLEMENTED(); |
66 } | 66 } |
67 | 67 |
68 } // namespace mus | 68 } // namespace mus |
69 } // namespace ash | 69 } // namespace ash |
OLD | NEW |