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

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

Issue 2266603002: mus: Implement interwindow drag and drop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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
« no previous file with comments | « no previous file | services/ui/public/cpp/in_flight_change.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/in_flight_change.h
diff --git a/services/ui/public/cpp/in_flight_change.h b/services/ui/public/cpp/in_flight_change.h
index 7981ef2f71ccbe82e8f09a7499495ebd53256af4..649aa542340fe297a7d760d563d8f9ba0b014692 100644
--- a/services/ui/public/cpp/in_flight_change.h
+++ b/services/ui/public/cpp/in_flight_change.h
@@ -32,6 +32,7 @@ enum class ChangeType {
BOUNDS,
CAPTURE,
DELETE_WINDOW,
+ DRAG_LOOP,
FOCUS,
MOVE_LOOP,
NEW_TOP_LEVEL_WINDOW,
@@ -144,16 +145,16 @@ class InFlightBoundsChange : public InFlightChange {
DISALLOW_COPY_AND_ASSIGN(InFlightBoundsChange);
};
-class InFlightMoveLoopChange : public InFlightChange {
+class InFlightDragChange : public InFlightChange {
public:
- explicit InFlightMoveLoopChange(Window* window);
+ InFlightDragChange(Window* window, ChangeType type);
// InFlightChange:
void SetRevertValueFrom(const InFlightChange& change) override;
void Revert() override;
private:
- DISALLOW_COPY_AND_ASSIGN(InFlightMoveLoopChange);
+ DISALLOW_COPY_AND_ASSIGN(InFlightDragChange);
};
// Inflight change that crashes on failure. This is useful for changes that are
« no previous file with comments | « no previous file | services/ui/public/cpp/in_flight_change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698