// 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 | |
enum PresenterType { | |
"delegated-ink-trail" | |
}; | |
[ | |
RuntimeEnabled=DelegatedInkTrails, | |
Exposed=Window | |
] interface Ink { | |
[CallWith=ScriptState] Promise<DelegatedInkTrailPresenter> requestPresenter(PresenterType type, optional Element? presentationArea = null); | |
}; |