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

Unified Diff: services/ui/public/interfaces/display_manager.mojom

Issue 2897303002: chromeos: Changes DisplayManagerObserver to have a single function (Closed)
Patch Set: fix compile 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | services/ui/ws/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/interfaces/display_manager.mojom
diff --git a/services/ui/public/interfaces/display_manager.mojom b/services/ui/public/interfaces/display_manager.mojom
index bffc624d050ca47403d060dbae58b67127222678..b40e8358ddfb2f0e3d9e88d8f3742287c282de8d 100644
--- a/services/ui/public/interfaces/display_manager.mojom
+++ b/services/ui/public/interfaces/display_manager.mojom
@@ -7,26 +7,15 @@ module ui.mojom;
import "services/ui/public/interfaces/window_manager_constants.mojom";
interface DisplayManagerObserver {
- // Sent when the observer is added. |displays| will contain all known
- // displays. If the system that WS is running on has an integrated display,
- // for example a laptop internal display, then |internal_display_id| will
- // be the corresponding dislay id. If there is no internal display then
- // |internal_display_id| will be kInvalidDisplayID.
- OnDisplays(array<WsDisplay> displays,
- int64 primary_display_id,
- int64 internal_display_id);
-
- // The specified set of displays has changed in some way. This is used both
- // when a new display is added, or when a property of a display changes.
- // |displays| does not necessarily contain the complete set of displays,
- // only those that changed.
- OnDisplaysChanged(array<WsDisplay> displays);
-
- // An existing display was removed.
- OnDisplayRemoved(int64 display_id);
-
- // The primary display has changed.
- OnPrimaryDisplayChanged(int64 primary_display_id);
+ // Sent when the observer is added as well as any time the set of displays
+ // changes in any way. |displays| contains all known displays. If the system
+ // that WS is running on has an integrated display, for example a laptop
+ // internal display, then |internal_display_id| will be the corresponding
+ // dislay id. If there is no internal display then |internal_display_id| will
+ // be kInvalidDisplayID.
+ OnDisplaysChanged(array<WsDisplay> displays,
+ int64 primary_display_id,
+ int64 internal_display_id);
};
interface DisplayManager {
« no previous file with comments | « no previous file | services/ui/ws/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698