summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/virtualkeyboard/virtual_keyboard.idl
blob: d773c9e5f059bd9fb51480b40f0981b97e3ae68a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2020 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.

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

[
    Exposed=Window,
    SecureContext,
    RuntimeEnabled=VirtualKeyboard
] interface VirtualKeyboard : EventTarget {
    void show();
    void hide();
    readonly attribute DOMRect boundingRect;
    attribute boolean overlaysContent;
    attribute EventHandler ongeometrychange;
};