summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/delegated_ink/delegated_ink_trail_presenter.idl
blob: 1aa54b7a12954c14bf78b241f0c1a35b86794349 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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.

// https://github.com/WICG/ink-enhancement

[
    RuntimeEnabled=DelegatedInkTrails,
    Exposed=Window
] interface DelegatedInkTrailPresenter {
    [CallWith=ScriptState, RaisesException] void updateInkTrailStartPoint(PointerEvent evt, InkTrailStyle style);

    readonly attribute Element? presentationArea;
    readonly attribute unsigned long expectedImprovement;
};