chromium/third_party/blink/public/mojom/frame/user_activation_update_types.mojom

// 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.

module blink.mojom;

// Types of UserActivationV2 state updates sent between the browser and the
// renderer processes.
enum UserActivationUpdateType {
  // Used to give a document sticky and transient user activation as a result of
  // a user gesture.
  kNotifyActivation,
  kNotifyActivationPendingBrowserVerification,
  // Used to propagate the sticky user activation state during cross-document
  // navigations.
  kNotifyActivationStickyOnly,
  // Used after a sensitive API is called to prevent abuse of the API.
  kConsumeTransientActivation,
  // Used during cross-document navigations when the user activation state
  // shouldn't be propagated.
  kClearActivation
};