Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_LIB_IN_FLIGHT_CHANGE_H_ | 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_LIB_IN_FLIGHT_CHANGE_H_ |
| 6 #define COMPONENTS_MUS_PUBLIC_CPP_LIB_IN_FLIGHT_CHANGE_H_ | 6 #define COMPONENTS_MUS_PUBLIC_CPP_LIB_IN_FLIGHT_CHANGE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 257 // InFlightChange: | 257 // InFlightChange: |
| 258 void SetRevertValueFrom(const InFlightChange& change) override; | 258 void SetRevertValueFrom(const InFlightChange& change) override; |
| 259 void Revert() override; | 259 void Revert() override; |
| 260 | 260 |
| 261 private: | 261 private: |
| 262 bool revert_visible_; | 262 bool revert_visible_; |
| 263 | 263 |
| 264 DISALLOW_COPY_AND_ASSIGN(InFlightVisibleChange); | 264 DISALLOW_COPY_AND_ASSIGN(InFlightVisibleChange); |
| 265 }; | 265 }; |
| 266 | 266 |
| 267 class InFlightSetModalChange : public InFlightChange { | |
| 268 public: | |
| 269 InFlightSetModalChange(Window* window); | |
|
sky
2016/03/17 22:59:42
explicit, and don't have the compiler generate des
mohsen
2016/03/17 23:51:30
Done. Also added destructor for InFlightVisibleCha
| |
| 270 | |
| 271 // InFlightChange: | |
| 272 void SetRevertValueFrom(const InFlightChange& change) override; | |
| 273 void Revert() override; | |
| 274 | |
| 275 private: | |
| 276 DISALLOW_COPY_AND_ASSIGN(InFlightSetModalChange); | |
| 277 }; | |
| 278 | |
| 267 } // namespace mus | 279 } // namespace mus |
| 268 | 280 |
| 269 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_IN_FLIGHT_CHANGE_H_ | 281 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_IN_FLIGHT_CHANGE_H_ |
| OLD | NEW |