chromium/third_party/blink/common/frame/user_activation_state.cc

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

#include "third_party/blink/public/common/frame/user_activation_state.h"

#include "base/metrics/histogram_functions.h"
#include "third_party/blink/public/mojom/frame/user_activation_notification_type.mojom-shared.h"

UserActivationNotificationType;

namespace blink {

namespace {

// Indicates if |notification_type| should be considered restricted.  See
// |LastActivationWasRestricted| for details.
bool IsRestricted(UserActivationNotificationType notification_type) {}

}  // namespace

UserActivationState::UserActivationState()
    :{}

void UserActivationState::Activate(
    UserActivationNotificationType notification_type) {}

void UserActivationState::SetHasBeenActive() {}

void UserActivationState::Clear() {}

bool UserActivationState::HasBeenActive() const {}

bool UserActivationState::IsActive() const {}

bool UserActivationState::IsActiveInternal() const {}

bool UserActivationState::ConsumeIfActive() {}

bool UserActivationState::LastActivationWasRestricted() const {}

void UserActivationState::RecordPreconsumptionUma() const {}

void UserActivationState::ActivateTransientState() {}

void UserActivationState::DeactivateTransientState() {}

UserActivationNotificationType UserActivationState::EffectiveNotificationType()
    const {}

}  // namespace blink