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

Side by Side Diff: ui/aura/mus/window_manager_delegate.h

Issue 2858563002: Revert of chromeos: Makes mushrome use simplified display management (Closed)
Patch Set: Created 3 years, 7 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/window_server.cc ('k') | ui/aura/mus/window_tree_client.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 UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_ 5 #ifndef UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_
6 #define UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_ 6 #define UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 virtual void RemoveActivationParent(Window* window) = 0; 58 virtual void RemoveActivationParent(Window* window) = 0;
59 virtual void ActivateNextWindow() = 0; 59 virtual void ActivateNextWindow() = 0;
60 virtual void SetExtendedHitArea(Window* window, 60 virtual void SetExtendedHitArea(Window* window,
61 const gfx::Insets& hit_area) = 0; 61 const gfx::Insets& hit_area) = 0;
62 62
63 // Requests the client embedded in |window| to close the window. Only 63 // Requests the client embedded in |window| to close the window. Only
64 // applicable to top-level windows. If a client is not embedded in |window|, 64 // applicable to top-level windows. If a client is not embedded in |window|,
65 // this does nothing. 65 // this does nothing.
66 virtual void RequestClose(Window* window) = 0; 66 virtual void RequestClose(Window* window) = 0;
67 67
68 // Blocks until the initial displays have been received, or if displays are 68 // Blocks until the initial displays have been received.
69 // not automatically created until the connection to mus has been
70 // established.
71 virtual bool WaitForInitialDisplays() = 0; 69 virtual bool WaitForInitialDisplays() = 0;
72 70
73 // Used by the window manager to create a new display. This is only useful if 71 // Used by the window manager to create a new display. This is only useful if
74 // the WindowTreeClient was configured not to automatically create displays 72 // the WindowTreeClient was configured not to automatically create displays
75 // (see ConnectAsWindowManager()). The caller needs to configure 73 // (see ConnectAsWindowManager()). The caller needs to configure
76 // DisplayInitParams on the returned object. 74 // DisplayInitParams on the returned object.
77 virtual WindowTreeHostMusInitParams CreateInitParamsForNewDisplay() = 0; 75 virtual WindowTreeHostMusInitParams CreateInitParamsForNewDisplay() = 0;
78 76
79 protected: 77 protected:
80 virtual ~WindowManagerClient() {} 78 virtual ~WindowManagerClient() {}
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 // window. 193 // window.
196 virtual void OnWmDeactivateWindow(Window* window) = 0; 194 virtual void OnWmDeactivateWindow(Window* window) = 0;
197 195
198 protected: 196 protected:
199 virtual ~WindowManagerDelegate() {} 197 virtual ~WindowManagerDelegate() {}
200 }; 198 };
201 199
202 } // namespace ui 200 } // namespace ui
203 201
204 #endif // UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_ 202 #endif // UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « services/ui/ws/window_server.cc ('k') | ui/aura/mus/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698