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_WS_OPERATION_H_ | 5 #ifndef COMPONENTS_MUS_WS_OPERATION_H_ |
| 6 #define COMPONENTS_MUS_WS_OPERATION_H_ | 6 #define COMPONENTS_MUS_WS_OPERATION_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 22 ADD_WINDOW, | 22 ADD_WINDOW, |
| 23 DELETE_WINDOW, | 23 DELETE_WINDOW, |
| 24 EMBED, | 24 EMBED, |
| 25 REMOVE_TRANSIENT_WINDOW_FROM_PARENT, | 25 REMOVE_TRANSIENT_WINDOW_FROM_PARENT, |
| 26 REMOVE_WINDOW_FROM_PARENT, | 26 REMOVE_WINDOW_FROM_PARENT, |
| 27 REORDER_WINDOW, | 27 REORDER_WINDOW, |
| 28 SET_FOCUS, | 28 SET_FOCUS, |
| 29 SET_WINDOW_BOUNDS, | 29 SET_WINDOW_BOUNDS, |
| 30 SET_WINDOW_PROPERTY, | 30 SET_WINDOW_PROPERTY, |
| 31 SET_WINDOW_VISIBILITY, | 31 SET_WINDOW_VISIBILITY, |
| 32 SET_WINDOW_PREDEFINED_CURSOR, | |
|
sky
2015/12/02 21:42:35
nit: keep these sorted too.
| |
| 32 }; | 33 }; |
| 33 | 34 |
| 34 // This class tracks the currently pending client-initiated operation. | 35 // This class tracks the currently pending client-initiated operation. |
| 35 // This is typically used to suppress superfluous notifications generated | 36 // This is typically used to suppress superfluous notifications generated |
| 36 // by suboperations in the window server. | 37 // by suboperations in the window server. |
| 37 class Operation { | 38 class Operation { |
| 38 public: | 39 public: |
| 39 Operation(WindowTreeImpl* connection, | 40 Operation(WindowTreeImpl* connection, |
| 40 ConnectionManager* connection_manager, | 41 ConnectionManager* connection_manager, |
| 41 OperationType operation_type); | 42 OperationType operation_type); |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 66 // See description of MarkConnectionAsMessaged/DidMessageConnection. | 67 // See description of MarkConnectionAsMessaged/DidMessageConnection. |
| 67 std::set<ConnectionSpecificId> message_ids_; | 68 std::set<ConnectionSpecificId> message_ids_; |
| 68 | 69 |
| 69 DISALLOW_COPY_AND_ASSIGN(Operation); | 70 DISALLOW_COPY_AND_ASSIGN(Operation); |
| 70 }; | 71 }; |
| 71 | 72 |
| 72 } // namespace ws | 73 } // namespace ws |
| 73 } // namespace mus | 74 } // namespace mus |
| 74 | 75 |
| 75 #endif // COMPONENTS_MUS_WS_OPERATION_H_ | 76 #endif // COMPONENTS_MUS_WS_OPERATION_H_ |
| OLD | NEW |