chromium/third_party/blink/renderer/core/frame/user_activation.idl

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

// https://github.com/dtapuska/useractivation
[
    Exposed=(Window,Worker,AudioWorklet)
] interface UserActivation {
  [Measure] readonly attribute boolean hasBeenActive;
  [Measure] readonly attribute boolean isActive;
};