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

Side by Side Diff: components/mus/ws/window_server.h

Issue 2065573003: Mus: Delete unused Mandoline Surfaces code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix mus_ws_unittests Created 4 years, 6 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 | « components/mus/ws/test_server_window_delegate.cc ('k') | components/mus/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 COMPONENTS_MUS_WS_WINDOW_SERVER_H_ 5 #ifndef COMPONENTS_MUS_WS_WINDOW_SERVER_H_
6 #define COMPONENTS_MUS_WS_WINDOW_SERVER_H_ 6 #define COMPONENTS_MUS_WS_WINDOW_SERVER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "components/mus/public/cpp/surfaces/custom_surface_converter.h"
17 #include "components/mus/public/interfaces/window_manager_factory.mojom.h" 16 #include "components/mus/public/interfaces/window_manager_factory.mojom.h"
18 #include "components/mus/public/interfaces/window_tree.mojom.h" 17 #include "components/mus/public/interfaces/window_tree.mojom.h"
19 #include "components/mus/public/interfaces/window_tree_host.mojom.h" 18 #include "components/mus/public/interfaces/window_tree_host.mojom.h"
20 #include "components/mus/surfaces/surfaces_state.h" 19 #include "components/mus/surfaces/surfaces_state.h"
21 #include "components/mus/ws/display.h" 20 #include "components/mus/ws/display.h"
22 #include "components/mus/ws/display_manager_delegate.h" 21 #include "components/mus/ws/display_manager_delegate.h"
23 #include "components/mus/ws/ids.h" 22 #include "components/mus/ws/ids.h"
24 #include "components/mus/ws/operation.h" 23 #include "components/mus/ws/operation.h"
25 #include "components/mus/ws/server_window_delegate.h" 24 #include "components/mus/ws/server_window_delegate.h"
26 #include "components/mus/ws/server_window_observer.h" 25 #include "components/mus/ws/server_window_observer.h"
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 // Updates the native cursor if the cursor is currently inside |window|. This 230 // Updates the native cursor if the cursor is currently inside |window|. This
232 // is run in response to events that change the mouse cursor properties of 231 // is run in response to events that change the mouse cursor properties of
233 // |window|. 232 // |window|.
234 void UpdateNativeCursorIfOver(ServerWindow* window); 233 void UpdateNativeCursorIfOver(ServerWindow* window);
235 234
236 // Overridden from ServerWindowDelegate: 235 // Overridden from ServerWindowDelegate:
237 mus::SurfacesState* GetSurfacesState() override; 236 mus::SurfacesState* GetSurfacesState() override;
238 void OnScheduleWindowPaint(ServerWindow* window) override; 237 void OnScheduleWindowPaint(ServerWindow* window) override;
239 const ServerWindow* GetRootWindow(const ServerWindow* window) const override; 238 const ServerWindow* GetRootWindow(const ServerWindow* window) const override;
240 void ScheduleSurfaceDestruction(ServerWindow* window) override; 239 void ScheduleSurfaceDestruction(ServerWindow* window) override;
241 ServerWindow* FindWindowForSurface(
242 const ServerWindow* ancestor,
243 mojom::SurfaceType surface_type,
244 const ClientWindowId& client_window_id) override;
245 240
246 // Overridden from ServerWindowObserver: 241 // Overridden from ServerWindowObserver:
247 void OnWindowDestroyed(ServerWindow* window) override; 242 void OnWindowDestroyed(ServerWindow* window) override;
248 void OnWillChangeWindowHierarchy(ServerWindow* window, 243 void OnWillChangeWindowHierarchy(ServerWindow* window,
249 ServerWindow* new_parent, 244 ServerWindow* new_parent,
250 ServerWindow* old_parent) override; 245 ServerWindow* old_parent) override;
251 void OnWindowHierarchyChanged(ServerWindow* window, 246 void OnWindowHierarchyChanged(ServerWindow* window,
252 ServerWindow* new_parent, 247 ServerWindow* new_parent,
253 ServerWindow* old_parent) override; 248 ServerWindow* old_parent) override;
254 void OnWindowBoundsChanged(ServerWindow* window, 249 void OnWindowBoundsChanged(ServerWindow* window,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 312
318 WindowManagerFactoryRegistry window_manager_factory_registry_; 313 WindowManagerFactoryRegistry window_manager_factory_registry_;
319 314
320 DISALLOW_COPY_AND_ASSIGN(WindowServer); 315 DISALLOW_COPY_AND_ASSIGN(WindowServer);
321 }; 316 };
322 317
323 } // namespace ws 318 } // namespace ws
324 } // namespace mus 319 } // namespace mus
325 320
326 #endif // COMPONENTS_MUS_WS_WINDOW_SERVER_H_ 321 #endif // COMPONENTS_MUS_WS_WINDOW_SERVER_H_
OLDNEW
« no previous file with comments | « components/mus/ws/test_server_window_delegate.cc ('k') | components/mus/ws/window_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698