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

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

Issue 2461513002: Primary display change notifications. (Closed)
Patch Set: Cleanup. 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
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_USER_DISPLAY_MANAGER_DELEGATE_H_ 5 #ifndef SERVICES_UI_WS_USER_DISPLAY_MANAGER_DELEGATE_H_
6 #define SERVICES_UI_WS_USER_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"
9 #include "services/ui/ws/user_id.h" 8 #include "services/ui/ws/user_id.h"
10 9
11 namespace ui { 10 namespace ui {
12 namespace ws { 11 namespace ws {
13 12
14 class Display; 13 class Display;
15 class WindowManagerState; 14 class WindowManagerState;
16 15
17 class UserDisplayManagerDelegate { 16 class UserDisplayManagerDelegate {
18 public: 17 public:
19 // Gets the frame decorations for the specified user. Returns true if the 18 // Gets the frame decorations for the specified user. Returns true if the
20 // decorations have been set, false otherwise. |values| may be null. 19 // decorations have been set, false otherwise. |values| may be null.
21 virtual bool GetFrameDecorationsForUser( 20 virtual bool GetFrameDecorationsForUser(
22 const UserId& user_id, 21 const UserId& user_id,
23 mojom::FrameDecorationValuesPtr* values) = 0; 22 mojom::FrameDecorationValuesPtr* values) = 0;
24 23
25 protected: 24 protected:
26 virtual ~UserDisplayManagerDelegate() {} 25 virtual ~UserDisplayManagerDelegate() {}
27 }; 26 };
28 27
29 } // namespace ws 28 } // namespace ws
30 } // namespace ui 29 } // namespace ui
31 30
32 #endif // SERVICES_UI_WS_USER_DISPLAY_MANAGER_DELEGATE_H_ 31 #endif // SERVICES_UI_WS_USER_DISPLAY_MANAGER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698