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

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

Issue 2349003002: Makes WindowTree::DeleteWindow() unembed for roots (Closed)
Patch Set: comment Created 4 years, 3 months 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 | « services/ui/ws/server_window_observer.h ('k') | services/ui/ws/window_server.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_WINDOW_SERVER_H_ 5 #ifndef SERVICES_UI_WS_WINDOW_SERVER_H_
6 #define SERVICES_UI_WS_WINDOW_SERVER_H_ 6 #define SERVICES_UI_WS_WINDOW_SERVER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 const ServerWindow* old_capture); 187 const ServerWindow* old_capture);
188 void ProcessWillChangeWindowHierarchy(const ServerWindow* window, 188 void ProcessWillChangeWindowHierarchy(const ServerWindow* window,
189 const ServerWindow* new_parent, 189 const ServerWindow* new_parent,
190 const ServerWindow* old_parent); 190 const ServerWindow* old_parent);
191 void ProcessWindowHierarchyChanged(const ServerWindow* window, 191 void ProcessWindowHierarchyChanged(const ServerWindow* window,
192 const ServerWindow* new_parent, 192 const ServerWindow* new_parent,
193 const ServerWindow* old_parent); 193 const ServerWindow* old_parent);
194 void ProcessWindowReorder(const ServerWindow* window, 194 void ProcessWindowReorder(const ServerWindow* window,
195 const ServerWindow* relative_window, 195 const ServerWindow* relative_window,
196 const mojom::OrderDirection direction); 196 const mojom::OrderDirection direction);
197 void ProcessWindowDeleted(const ServerWindow* window); 197 void ProcessWindowDeleted(ServerWindow* window);
198 void ProcessWillChangeWindowPredefinedCursor(ServerWindow* window, 198 void ProcessWillChangeWindowPredefinedCursor(ServerWindow* window,
199 int32_t cursor_id); 199 int32_t cursor_id);
200 200
201 // Sends an |event| to all WindowTrees belonging to |user_id| that might be 201 // Sends an |event| to all WindowTrees belonging to |user_id| that might be
202 // observing events. Skips |ignore_tree| if it is non-null. |target_window| is 202 // observing events. Skips |ignore_tree| if it is non-null. |target_window| is
203 // the target of the event. 203 // the target of the event.
204 void SendToPointerWatchers(const ui::Event& event, 204 void SendToPointerWatchers(const ui::Event& event,
205 const UserId& user_id, 205 const UserId& user_id,
206 ServerWindow* target_window, 206 ServerWindow* target_window,
207 WindowTree* ignore_tree); 207 WindowTree* ignore_tree);
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 386
387 WindowManagerWindowTreeFactorySet window_manager_window_tree_factory_set_; 387 WindowManagerWindowTreeFactorySet window_manager_window_tree_factory_set_;
388 388
389 DISALLOW_COPY_AND_ASSIGN(WindowServer); 389 DISALLOW_COPY_AND_ASSIGN(WindowServer);
390 }; 390 };
391 391
392 } // namespace ws 392 } // namespace ws
393 } // namespace ui 393 } // namespace ui
394 394
395 #endif // SERVICES_UI_WS_WINDOW_SERVER_H_ 395 #endif // SERVICES_UI_WS_WINDOW_SERVER_H_
OLDNEW
« no previous file with comments | « services/ui/ws/server_window_observer.h ('k') | services/ui/ws/window_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698