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

Unified 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, 4 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/user_display_manager_delegate.h
diff --git a/services/ui/ws/display_manager_delegate.h b/services/ui/ws/user_display_manager_delegate.h
similarity index 62%
rename from services/ui/ws/display_manager_delegate.h
rename to services/ui/ws/user_display_manager_delegate.h
index b5e7ec4c5f96272f6c0228fe95af74197d4b02cd..69b727fa778dcdea7ec1c85b91d988a9f63cd903 100644
--- a/services/ui/ws/display_manager_delegate.h
+++ b/services/ui/ws/user_display_manager_delegate.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SERVICES_UI_WS_DISPLAY_MANAGER_DELEGATE_H_
-#define SERVICES_UI_WS_DISPLAY_MANAGER_DELEGATE_H_
+#ifndef SERVICES_UI_WS_USER_DISPLAY_MANAGER_DELEGATE_H_
+#define SERVICES_UI_WS_USER_DISPLAY_MANAGER_DELEGATE_H_
#include "services/ui/public/interfaces/display.mojom.h"
#include "services/ui/ws/user_id.h"
@@ -14,25 +14,19 @@ namespace ws {
class Display;
class WindowManagerState;
-class DisplayManagerDelegate {
+class UserDisplayManagerDelegate {
public:
- virtual void OnFirstDisplayReady() = 0;
- virtual void OnNoMoreDisplays() = 0;
-
// Gets the frame decorations for the specified user. Returns true if the
// decorations have been set, false otherwise. |values| may be null.
virtual bool GetFrameDecorationsForUser(
const UserId& user_id,
mojom::FrameDecorationValuesPtr* values) = 0;
- virtual WindowManagerState* GetWindowManagerStateForUser(
- const UserId& user_id) = 0;
-
protected:
- virtual ~DisplayManagerDelegate() {}
+ virtual ~UserDisplayManagerDelegate() {}
};
} // namespace ws
} // namespace ui
-#endif // SERVICES_UI_WS_DISPLAY_MANAGER_DELEGATE_H_
+#endif // SERVICES_UI_WS_USER_DISPLAY_MANAGER_DELEGATE_H_
« 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