chromium/third_party/blink/renderer/modules/virtualkeyboard/virtual_keyboard.idl

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Explainers:
// https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/master/VirtualKeyboardPolicy/explainer.md
// https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/master/VirtualKeyboardAPI/explainer.md

[
    Exposed=Window,
    SecureContext
] interface VirtualKeyboard : EventTarget {
    [MeasureAs=VirtualKeyboardShow]
    void show();

    [MeasureAs=VirtualKeyboardHide]
    void hide();

    readonly attribute DOMRect boundingRect;
    attribute boolean overlaysContent;
    attribute EventHandler ongeometrychange;
};