Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(833)

Side by Side Diff: services/ui/ws/operation.h

Issue 2535753009: Couple of changes for client area (Closed)
Patch Set: nuke todo Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | services/ui/ws/window_tree.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 SERVICES_UI_WS_OPERATION_H_ 5 #ifndef SERVICES_UI_WS_OPERATION_H_
6 #define SERVICES_UI_WS_OPERATION_H_ 6 #define SERVICES_UI_WS_OPERATION_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "services/ui/common/types.h" 11 #include "services/ui/common/types.h"
12 12
13 namespace ui { 13 namespace ui {
14 namespace ws { 14 namespace ws {
15 15
16 class WindowServer; 16 class WindowServer;
17 class WindowTree; 17 class WindowTree;
18 18
19 enum class OperationType { 19 enum class OperationType {
20 NONE, 20 NONE,
21 ADD_TRANSIENT_WINDOW, 21 ADD_TRANSIENT_WINDOW,
22 ADD_WINDOW, 22 ADD_WINDOW,
23 DELETE_WINDOW, 23 DELETE_WINDOW,
24 EMBED, 24 EMBED,
25 RELEASE_CAPTURE, 25 RELEASE_CAPTURE,
26 REMOVE_TRANSIENT_WINDOW_FROM_PARENT, 26 REMOVE_TRANSIENT_WINDOW_FROM_PARENT,
27 REMOVE_WINDOW_FROM_PARENT, 27 REMOVE_WINDOW_FROM_PARENT,
28 REORDER_WINDOW, 28 REORDER_WINDOW,
29 SET_CAPTURE, 29 SET_CAPTURE,
30 SET_CLIENT_AREA,
30 SET_FOCUS, 31 SET_FOCUS,
31 SET_WINDOW_BOUNDS, 32 SET_WINDOW_BOUNDS,
32 SET_WINDOW_OPACITY, 33 SET_WINDOW_OPACITY,
33 SET_WINDOW_PREDEFINED_CURSOR, 34 SET_WINDOW_PREDEFINED_CURSOR,
34 SET_WINDOW_PROPERTY, 35 SET_WINDOW_PROPERTY,
35 SET_WINDOW_VISIBILITY, 36 SET_WINDOW_VISIBILITY,
36 }; 37 };
37 38
38 // This class tracks the currently pending client-initiated operation. 39 // This class tracks the currently pending client-initiated operation.
39 // This is typically used to suppress superfluous notifications generated 40 // This is typically used to suppress superfluous notifications generated
(...skipping 28 matching lines...) Expand all
68 // See description of MarkTreeAsMessaged/DidMessageTree. 69 // See description of MarkTreeAsMessaged/DidMessageTree.
69 std::set<ClientSpecificId> message_ids_; 70 std::set<ClientSpecificId> message_ids_;
70 71
71 DISALLOW_COPY_AND_ASSIGN(Operation); 72 DISALLOW_COPY_AND_ASSIGN(Operation);
72 }; 73 };
73 74
74 } // namespace ws 75 } // namespace ws
75 } // namespace ui 76 } // namespace ui
76 77
77 #endif // SERVICES_UI_WS_OPERATION_H_ 78 #endif // SERVICES_UI_WS_OPERATION_H_
OLDNEW
« no previous file with comments | « no previous file | services/ui/ws/window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698