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

Unified Diff: services/ui/public/cpp/lib/in_flight_change.cc

Issue 2060513002: Tab dragging as implemented as a mus API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dcheng nits Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/public/cpp/lib/in_flight_change.h ('k') | services/ui/public/cpp/lib/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/lib/in_flight_change.cc
diff --git a/services/ui/public/cpp/lib/in_flight_change.cc b/services/ui/public/cpp/lib/in_flight_change.cc
index 9f25b414a528df3cf574cdbbee990da50a40ae88..e3483a94874627e018e587f8872217b5556b20fb 100644
--- a/services/ui/public/cpp/lib/in_flight_change.cc
+++ b/services/ui/public/cpp/lib/in_flight_change.cc
@@ -39,6 +39,19 @@ void InFlightBoundsChange::Revert() {
WindowPrivate(window()).LocalSetBounds(window()->bounds(), revert_bounds_);
}
+// InFlightMoveLoopChange -----------------------------------------------------
+
+InFlightMoveLoopChange::InFlightMoveLoopChange(Window* window)
+ : InFlightChange(window, ChangeType::MOVE_LOOP) {}
+
+void InFlightMoveLoopChange::SetRevertValueFrom(const InFlightChange& change) {}
+
+void InFlightMoveLoopChange::Revert() {
+ // Reverting bounds happens in the window server in the error case; it cannot
+ // happen in the client because this could conflict with a
+ // InFlightBoundsChange.
+}
+
// CrashInFlightChange --------------------------------------------------------
CrashInFlightChange::CrashInFlightChange(Window* window, ChangeType type)
« no previous file with comments | « services/ui/public/cpp/lib/in_flight_change.h ('k') | services/ui/public/cpp/lib/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698