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

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

Issue 2266603002: mus: Implement interwindow drag and drop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sky comments Created 4 years, 3 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
Index: services/ui/public/cpp/in_flight_change.cc
diff --git a/services/ui/public/cpp/in_flight_change.cc b/services/ui/public/cpp/in_flight_change.cc
index aea803e55ca8ce506c1a40cf07c535827d4fe115..0a1669d927f52b24cc245dc5dea9ac6b0df99a28 100644
--- a/services/ui/public/cpp/in_flight_change.cc
+++ b/services/ui/public/cpp/in_flight_change.cc
@@ -39,14 +39,14 @@ void InFlightBoundsChange::Revert() {
WindowPrivate(window()).LocalSetBounds(window()->bounds(), revert_bounds_);
}
-// InFlightMoveLoopChange -----------------------------------------------------
+// InFlightDragChange -----------------------------------------------------
-InFlightMoveLoopChange::InFlightMoveLoopChange(Window* window)
+InFlightDragChange::InFlightDragChange(Window* window)
: InFlightChange(window, ChangeType::MOVE_LOOP) {}
sky 2016/09/13 18:15:31 You're using this for both move and drag now. Pass
-void InFlightMoveLoopChange::SetRevertValueFrom(const InFlightChange& change) {}
+void InFlightDragChange::SetRevertValueFrom(const InFlightChange& change) {}
-void InFlightMoveLoopChange::Revert() {
+void InFlightDragChange::Revert() {
// Reverting bounds happens in the window server in the error case; it cannot
sky 2016/09/13 18:15:31 remove stale comment.
// happen in the client because this could conflict with a
// InFlightBoundsChange.

Powered by Google App Engine
This is Rietveld 408576698