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 "components/mus/public/cpp/lib/in_flight_change.h" | 5 #include "services/ui/public/cpp/lib/in_flight_change.h" |
6 | 6 |
7 #include "components/mus/public/cpp/lib/window_private.h" | 7 #include "services/ui/public/cpp/lib/window_private.h" |
8 #include "components/mus/public/cpp/window_tree_client.h" | 8 #include "services/ui/public/cpp/window_tree_client.h" |
9 | 9 |
10 namespace mus { | 10 namespace mus { |
11 | 11 |
12 // InFlightChange ------------------------------------------------------------- | 12 // InFlightChange ------------------------------------------------------------- |
13 | 13 |
14 InFlightChange::InFlightChange(Window* window, ChangeType type) | 14 InFlightChange::InFlightChange(Window* window, ChangeType type) |
15 : window_(window), change_type_(type) {} | 15 : window_(window), change_type_(type) {} |
16 | 16 |
17 InFlightChange::~InFlightChange() {} | 17 InFlightChange::~InFlightChange() {} |
18 | 18 |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 | 211 |
212 InFlightSetModalChange::~InFlightSetModalChange() {} | 212 InFlightSetModalChange::~InFlightSetModalChange() {} |
213 | 213 |
214 void InFlightSetModalChange::SetRevertValueFrom(const InFlightChange& change) {} | 214 void InFlightSetModalChange::SetRevertValueFrom(const InFlightChange& change) {} |
215 | 215 |
216 void InFlightSetModalChange::Revert() { | 216 void InFlightSetModalChange::Revert() { |
217 WindowPrivate(window()).LocalUnsetModal(); | 217 WindowPrivate(window()).LocalUnsetModal(); |
218 } | 218 } |
219 | 219 |
220 } // namespace mus | 220 } // namespace mus |
OLD | NEW |