Chromium Code Reviews| Index: components/mus/public/cpp/lib/in_flight_change.h |
| diff --git a/components/mus/public/cpp/lib/in_flight_change.h b/components/mus/public/cpp/lib/in_flight_change.h |
| index bf77fc6e6b10a00d2bbb2aa8f47eac636561b908..d6ad40090725238eddd578b1b2acce99929155ed 100644 |
| --- a/components/mus/public/cpp/lib/in_flight_change.h |
| +++ b/components/mus/public/cpp/lib/in_flight_change.h |
| @@ -33,8 +33,9 @@ enum class ChangeType { |
| CAPTURE, |
| DELETE_WINDOW, |
| FOCUS, |
| - NEW_WINDOW, |
| + MOVE_LOOP, |
| NEW_TOP_LEVEL_WINDOW, |
| + NEW_WINDOW, |
| OPACITY, |
| PREDEFINED_CURSOR, |
| PROPERTY, |
| @@ -143,6 +144,18 @@ class InFlightBoundsChange : public InFlightChange { |
| DISALLOW_COPY_AND_ASSIGN(InFlightBoundsChange); |
| }; |
| +class InFlightMoveLoopChange : public InFlightChange { |
| + public: |
| + InFlightMoveLoopChange(Window* window); |
|
sky
2016/06/29 00:04:08
explicit
|
| + |
| + // InFlightChange: |
| + void SetRevertValueFrom(const InFlightChange& change) override; |
| + void Revert() override; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(InFlightMoveLoopChange); |
| +}; |
| + |
| // Inflight change that crashes on failure. This is useful for changes that are |
| // expected to always complete. |
| class CrashInFlightChange : public InFlightChange { |