blob: 8b71a5d094f5df82e1388a38217346b7442a6628 [file] [log] [blame]
// 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 display.mojom;
// An interface for clients that are allowed to make changes to the display
// state.
interface DisplayController {
// Toggles adding or removing a virtual display. If there is only one display
// a second display is added. If there is more than one display then the last
// display is removed.
ToggleVirtualDisplay() => (bool success);
// TODO(kylechar): This interface will need to be expanded to provide
// additional functionality for the display settings page and other ash
// keyboard accelerators.
};