| 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 14 matching lines...) Expand all Loading... |
| 25 class Window; | 25 class Window; |
| 26 class WindowTreeClientImpl; | 26 class WindowTreeClientImpl; |
| 27 | 27 |
| 28 enum class ChangeType { | 28 enum class ChangeType { |
| 29 ADD_CHILD, | 29 ADD_CHILD, |
| 30 ADD_TRANSIENT_WINDOW, | 30 ADD_TRANSIENT_WINDOW, |
| 31 BOUNDS, | 31 BOUNDS, |
| 32 DELETE_WINDOW, | 32 DELETE_WINDOW, |
| 33 FOCUS, | 33 FOCUS, |
| 34 NEW_WINDOW, | 34 NEW_WINDOW, |
| 35 NEW_TOP_LEVEL_WINDOW, |
| 35 PREDEFINED_CURSOR, | 36 PREDEFINED_CURSOR, |
| 36 PROPERTY, | 37 PROPERTY, |
| 37 REMOVE_CHILD, | 38 REMOVE_CHILD, |
| 38 REMOVE_TRANSIENT_WINDOW_FROM_PARENT, | 39 REMOVE_TRANSIENT_WINDOW_FROM_PARENT, |
| 39 REORDER, | 40 REORDER, |
| 40 VISIBLE, | 41 VISIBLE, |
| 41 }; | 42 }; |
| 42 | 43 |
| 43 // InFlightChange is used to track function calls to the server and take the | 44 // InFlightChange is used to track function calls to the server and take the |
| 44 // appropriate action when the call fails, or the same property changes while | 45 // appropriate action when the call fails, or the same property changes while |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 | 224 |
| 224 private: | 225 private: |
| 225 bool revert_visible_; | 226 bool revert_visible_; |
| 226 | 227 |
| 227 DISALLOW_COPY_AND_ASSIGN(InFlightVisibleChange); | 228 DISALLOW_COPY_AND_ASSIGN(InFlightVisibleChange); |
| 228 }; | 229 }; |
| 229 | 230 |
| 230 } // namespace mus | 231 } // namespace mus |
| 231 | 232 |
| 232 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_IN_FLIGHT_CHANGE_H_ | 233 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_IN_FLIGHT_CHANGE_H_ |
| OLD | NEW |