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

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

Issue 2429173005: Mus+Ash: Replace (Server)WindowSurface with (Server)WindowCompositorFrameSink (Closed)
Patch Set: Rebased Created 4 years, 1 month 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/window_manager_state_unittest.cc ('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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 void ProcessWindowHierarchyChanged(const ServerWindow* window, 190 void ProcessWindowHierarchyChanged(const ServerWindow* window,
191 const ServerWindow* new_parent, 191 const ServerWindow* new_parent,
192 const ServerWindow* old_parent); 192 const ServerWindow* old_parent);
193 void ProcessWindowReorder(const ServerWindow* window, 193 void ProcessWindowReorder(const ServerWindow* window,
194 const ServerWindow* relative_window, 194 const ServerWindow* relative_window,
195 const mojom::OrderDirection direction); 195 const mojom::OrderDirection direction);
196 void ProcessWindowDeleted(ServerWindow* window); 196 void ProcessWindowDeleted(ServerWindow* window);
197 void ProcessWillChangeWindowPredefinedCursor(ServerWindow* window, 197 void ProcessWillChangeWindowPredefinedCursor(ServerWindow* window,
198 mojom::Cursor cursor_id); 198 mojom::Cursor cursor_id);
199 void ProcessWindowSurfaceCreated(ServerWindow* window, 199 void ProcessWindowSurfaceCreated(ServerWindow* window,
200 mojom::SurfaceType surface_type, 200 mojom::CompositorFrameSinkType surface_type,
201 const cc::SurfaceId& surface_id, 201 const cc::SurfaceId& surface_id,
202 const gfx::Size& frame_size, 202 const gfx::Size& frame_size,
203 float device_scale_factor); 203 float device_scale_factor);
204 204
205 // Sends an |event| to all WindowTrees belonging to |user_id| that might be 205 // Sends an |event| to all WindowTrees belonging to |user_id| that might be
206 // observing events. Skips |ignore_tree| if it is non-null. |target_window| is 206 // observing events. Skips |ignore_tree| if it is non-null. |target_window| is
207 // the target of the event. 207 // the target of the event.
208 void SendToPointerWatchers(const ui::Event& event, 208 void SendToPointerWatchers(const ui::Event& event,
209 const UserId& user_id, 209 const UserId& user_id,
210 ServerWindow* target_window, 210 ServerWindow* target_window,
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 391
392 WindowManagerWindowTreeFactorySet window_manager_window_tree_factory_set_; 392 WindowManagerWindowTreeFactorySet window_manager_window_tree_factory_set_;
393 393
394 DISALLOW_COPY_AND_ASSIGN(WindowServer); 394 DISALLOW_COPY_AND_ASSIGN(WindowServer);
395 }; 395 };
396 396
397 } // namespace ws 397 } // namespace ws
398 } // namespace ui 398 } // namespace ui
399 399
400 #endif // SERVICES_UI_WS_WINDOW_SERVER_H_ 400 #endif // SERVICES_UI_WS_WINDOW_SERVER_H_
OLDNEW
« no previous file with comments | « services/ui/ws/window_manager_state_unittest.cc ('k') | services/ui/ws/window_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698