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/layout_manager.h" | 5 #include "ash/mus/layout_manager.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include "components/mus/public/cpp/property_type_converters.h" | 9 #include "services/ui/public/cpp/property_type_converters.h" |
10 #include "components/mus/public/cpp/window.h" | 10 #include "services/ui/public/cpp/window.h" |
11 #include "components/mus/public/cpp/window_property.h" | 11 #include "services/ui/public/cpp/window_property.h" |
12 | 12 |
13 namespace ash { | 13 namespace ash { |
14 namespace mus { | 14 namespace mus { |
15 | 15 |
16 LayoutManager::~LayoutManager() { | 16 LayoutManager::~LayoutManager() { |
17 Uninstall(); | 17 Uninstall(); |
18 } | 18 } |
19 | 19 |
20 LayoutManager::LayoutManager(::mus::Window* owner) : owner_(owner) { | 20 LayoutManager::LayoutManager(::mus::Window* owner) : owner_(owner) { |
21 owner_->AddObserver(this); | 21 owner_->AddObserver(this); |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 77 |
78 void LayoutManager::WindowAdded(::mus::Window* window) {} | 78 void LayoutManager::WindowAdded(::mus::Window* window) {} |
79 void LayoutManager::WindowRemoved(::mus::Window* window) {} | 79 void LayoutManager::WindowRemoved(::mus::Window* window) {} |
80 | 80 |
81 void LayoutManager::AddLayoutProperty(const std::string& name) { | 81 void LayoutManager::AddLayoutProperty(const std::string& name) { |
82 layout_properties_.insert(name); | 82 layout_properties_.insert(name); |
83 } | 83 } |
84 | 84 |
85 } // namespace mus | 85 } // namespace mus |
86 } // namespace ash | 86 } // namespace ash |
OLD | NEW |