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

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

Issue 2274353003: Add PlatformScreenDelegate and start implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More fixes for comments. 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/user_display_manager.cc ('k') | services/ui/ws/user_display_manager_unittest.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_DISPLAY_MANAGER_DELEGATE_H_ 5 #ifndef SERVICES_UI_WS_USER_DISPLAY_MANAGER_DELEGATE_H_
6 #define SERVICES_UI_WS_DISPLAY_MANAGER_DELEGATE_H_ 6 #define SERVICES_UI_WS_USER_DISPLAY_MANAGER_DELEGATE_H_
7 7
8 #include "services/ui/public/interfaces/display.mojom.h" 8 #include "services/ui/public/interfaces/display.mojom.h"
9 #include "services/ui/ws/user_id.h" 9 #include "services/ui/ws/user_id.h"
10 10
11 namespace ui { 11 namespace ui {
12 namespace ws { 12 namespace ws {
13 13
14 class Display; 14 class Display;
15 class WindowManagerState; 15 class WindowManagerState;
16 16
17 class DisplayManagerDelegate { 17 class UserDisplayManagerDelegate {
18 public: 18 public:
19 virtual void OnFirstDisplayReady() = 0;
20 virtual void OnNoMoreDisplays() = 0;
21
22 // Gets the frame decorations for the specified user. Returns true if the 19 // Gets the frame decorations for the specified user. Returns true if the
23 // decorations have been set, false otherwise. |values| may be null. 20 // decorations have been set, false otherwise. |values| may be null.
24 virtual bool GetFrameDecorationsForUser( 21 virtual bool GetFrameDecorationsForUser(
25 const UserId& user_id, 22 const UserId& user_id,
26 mojom::FrameDecorationValuesPtr* values) = 0; 23 mojom::FrameDecorationValuesPtr* values) = 0;
27 24
28 virtual WindowManagerState* GetWindowManagerStateForUser(
29 const UserId& user_id) = 0;
30
31 protected: 25 protected:
32 virtual ~DisplayManagerDelegate() {} 26 virtual ~UserDisplayManagerDelegate() {}
33 }; 27 };
34 28
35 } // namespace ws 29 } // namespace ws
36 } // namespace ui 30 } // namespace ui
37 31
38 #endif // SERVICES_UI_WS_DISPLAY_MANAGER_DELEGATE_H_ 32 #endif // SERVICES_UI_WS_USER_DISPLAY_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « services/ui/ws/user_display_manager.cc ('k') | services/ui/ws/user_display_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698