| Index: components/mus/public/cpp/lib/in_flight_change.cc
|
| diff --git a/components/mus/public/cpp/lib/in_flight_change.cc b/components/mus/public/cpp/lib/in_flight_change.cc
|
| index 002ee3f30678af18e5be6004c0d932428172c2ed..ce9e396402279c4a5c0f0d56364b2122bd0cbca5 100644
|
| --- a/components/mus/public/cpp/lib/in_flight_change.cc
|
| +++ b/components/mus/public/cpp/lib/in_flight_change.cc
|
| @@ -85,6 +85,26 @@ void InFlightPropertyChange::Revert() {
|
| .LocalSetSharedProperty(property_name_, revert_value_.Pass());
|
| }
|
|
|
| +// InFlightPredefinedCursorChange ---------------------------------------------
|
| +
|
| +InFlightPredefinedCursorChange::InFlightPredefinedCursorChange(
|
| + Window* window,
|
| + mojom::Cursor revert_value)
|
| + : InFlightChange(window, ChangeType::PREDEFINED_CURSOR),
|
| + revert_cursor_(revert_value) {}
|
| +
|
| +InFlightPredefinedCursorChange::~InFlightPredefinedCursorChange() {}
|
| +
|
| +void InFlightPredefinedCursorChange::SetRevertValueFrom(
|
| + const InFlightChange& change) {
|
| + revert_cursor_ =
|
| + static_cast<const InFlightPredefinedCursorChange&>(change).revert_cursor_;
|
| +}
|
| +
|
| +void InFlightPredefinedCursorChange::Revert() {
|
| + WindowPrivate(window()).LocalSetPredefinedCursor(revert_cursor_);
|
| +}
|
| +
|
| // InFlightVisibleChange -------------------------------------------------------
|
|
|
| InFlightVisibleChange::InFlightVisibleChange(Window* window,
|
|
|