mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
23 lines
749 B
Plaintext
23 lines
749 B
Plaintext
// 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;
|
|
|
|
// All methods operate on the shelf on the primary display.
|
|
interface ShelfTestApi {
|
|
// Returns true if the shelf is visible (e.g. not auto-hidden).
|
|
IsVisible() => (bool visible);
|
|
|
|
// Forces a visibility update and then runs the callback.
|
|
UpdateVisibility() => ();
|
|
|
|
// Returns true if a window is overlapping the shelf, which changes its
|
|
// appearance slightly.
|
|
HasOverlappingWindow() => (bool overlap);
|
|
|
|
// Returns true if the shelf alignment is BOTTOM_LOCKED, which is not exposed
|
|
// via prefs.
|
|
IsAlignmentBottomLocked() => (bool locked);
|
|
};
|