Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Side by Side Diff: components/mus/public/cpp/lib/in_flight_change.cc

Issue 2072343002: Changes how window manager obtains WindowTree from mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: include Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/mus/public/cpp/BUILD.gn ('k') | components/mus/public/cpp/lib/window_tree_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "components/mus/public/cpp/lib/in_flight_change.h"
6 6
7 #include "components/mus/public/cpp/lib/window_private.h" 7 #include "components/mus/public/cpp/lib/window_private.h"
8 #include "components/mus/public/cpp/window_tree_client.h" 8 #include "components/mus/public/cpp/window_tree_client.h"
9 9
10 namespace mus { 10 namespace mus {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 CrashInFlightChange::CrashInFlightChange(Window* window, ChangeType type) 44 CrashInFlightChange::CrashInFlightChange(Window* window, ChangeType type)
45 : InFlightChange(window, type) {} 45 : InFlightChange(window, type) {}
46 46
47 CrashInFlightChange::~CrashInFlightChange() {} 47 CrashInFlightChange::~CrashInFlightChange() {}
48 48
49 void CrashInFlightChange::SetRevertValueFrom(const InFlightChange& change) { 49 void CrashInFlightChange::SetRevertValueFrom(const InFlightChange& change) {
50 CHECK(false); 50 CHECK(false);
51 } 51 }
52 52
53 void CrashInFlightChange::ChangeFailed() { 53 void CrashInFlightChange::ChangeFailed() {
54 DLOG(ERROR) << "changed failed, type=" << static_cast<int>(change_type());
54 CHECK(false); 55 CHECK(false);
55 } 56 }
56 57
57 void CrashInFlightChange::Revert() { 58 void CrashInFlightChange::Revert() {
58 CHECK(false); 59 CHECK(false);
59 } 60 }
60 61
61 // InFlightWindowChange ------------------------------------------------------- 62 // InFlightWindowChange -------------------------------------------------------
62 63
63 InFlightWindowTreeClientChange::InFlightWindowTreeClientChange( 64 InFlightWindowTreeClientChange::InFlightWindowTreeClientChange(
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 211
211 InFlightSetModalChange::~InFlightSetModalChange() {} 212 InFlightSetModalChange::~InFlightSetModalChange() {}
212 213
213 void InFlightSetModalChange::SetRevertValueFrom(const InFlightChange& change) {} 214 void InFlightSetModalChange::SetRevertValueFrom(const InFlightChange& change) {}
214 215
215 void InFlightSetModalChange::Revert() { 216 void InFlightSetModalChange::Revert() {
216 WindowPrivate(window()).LocalUnsetModal(); 217 WindowPrivate(window()).LocalUnsetModal();
217 } 218 }
218 219
219 } // namespace mus 220 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/public/cpp/BUILD.gn ('k') | components/mus/public/cpp/lib/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698