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 21 matching lines...) Expand all Loading... |
32 CAPTURE, | 32 CAPTURE, |
33 DELETE_WINDOW, | 33 DELETE_WINDOW, |
34 FOCUS, | 34 FOCUS, |
35 NEW_WINDOW, | 35 NEW_WINDOW, |
36 NEW_TOP_LEVEL_WINDOW, | 36 NEW_TOP_LEVEL_WINDOW, |
37 PREDEFINED_CURSOR, | 37 PREDEFINED_CURSOR, |
38 PROPERTY, | 38 PROPERTY, |
39 REMOVE_CHILD, | 39 REMOVE_CHILD, |
40 REMOVE_TRANSIENT_WINDOW_FROM_PARENT, | 40 REMOVE_TRANSIENT_WINDOW_FROM_PARENT, |
41 REORDER, | 41 REORDER, |
| 42 SET_MODAL, |
42 VISIBLE, | 43 VISIBLE, |
43 }; | 44 }; |
44 | 45 |
45 // InFlightChange is used to track function calls to the server and take the | 46 // InFlightChange is used to track function calls to the server and take the |
46 // appropriate action when the call fails, or the same property changes while | 47 // appropriate action when the call fails, or the same property changes while |
47 // waiting for the response. When a function is called on the server an | 48 // waiting for the response. When a function is called on the server an |
48 // InFlightChange is created. The function call is complete when | 49 // InFlightChange is created. The function call is complete when |
49 // OnChangeCompleted() is received from the server. The following may occur | 50 // OnChangeCompleted() is received from the server. The following may occur |
50 // while waiting for a response: | 51 // while waiting for a response: |
51 // . A new value is encountered from the server. For example, the bounds of | 52 // . A new value is encountered from the server. For example, the bounds of |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 | 260 |
260 private: | 261 private: |
261 bool revert_visible_; | 262 bool revert_visible_; |
262 | 263 |
263 DISALLOW_COPY_AND_ASSIGN(InFlightVisibleChange); | 264 DISALLOW_COPY_AND_ASSIGN(InFlightVisibleChange); |
264 }; | 265 }; |
265 | 266 |
266 } // namespace mus | 267 } // namespace mus |
267 | 268 |
268 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_IN_FLIGHT_CHANGE_H_ | 269 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_IN_FLIGHT_CHANGE_H_ |
OLD | NEW |