blob: bab9b461c314ef172640afd909411c49fe852220 [file] [log] [blame]
// Copyright 2017 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 ash.mojom;
interface ShellTestApi {
// Returns true if a system modal window is open (e.g. the Wi-Fi network
// password dialog).
IsSystemModalWindowOpen() => (bool visible);
// Enables or disables the tablet mode window manager.
EnableTabletModeWindowManager(bool enable);
// Enables the keyboard and associates it with the primary root window
// controller. In tablet mode, enables the virtual keyboard.
EnableVirtualKeyboard() => ();
// Tells the SplitViewController to snap the given window to the left or
// right. The client name is used to find the client's WindowTree.
SnapWindowInSplitView(string client_name, uint64 window_id, bool left) => ();
// Fullscreens the active window, as if the user had pressed the hardware
// fullscreen button.
ToggleFullscreen() => ();
// Enters or exits overview mode.
ToggleOverviewMode() => ();
};