mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
24 lines
928 B
Plaintext
24 lines
928 B
Plaintext
// Copyright 2016 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
module ui.mojom;
|
|
|
|
import "services/ui/public/interfaces/window_manager_constants.mojom";
|
|
|
|
interface DisplayManagerObserver {
|
|
// 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 {
|
|
AddObserver(DisplayManagerObserver observer);
|
|
};
|