chromium/ui/base/user_activity/user_activity_detector.cc

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

#include "ui/base/user_activity/user_activity_detector.h"

#include "base/format_macros.h"
#include "base/logging.h"
#include "base/observer_list.h"
#include "base/strings/stringprintf.h"
#include "base/types/cxx23_to_underlying.h"
#include "build/build_config.h"
#include "ui/base/user_activity/user_activity_observer.h"
#include "ui/events/event_utils.h"
#include "ui/events/platform/platform_event_source.h"

namespace ui {

namespace {

// Returns a string describing |event|.
std::string GetEventDebugString(const ui::Event* event) {}

}  // namespace

const int UserActivityDetector::kNotifyIntervalMs =;

// Too low and mouse events generated at the tail end of reconfiguration
// will be reported as user activity and turn the screen back on; too high
// and we'll ignore legitimate activity.
const int UserActivityDetector::kDisplayPowerChangeIgnoreMouseMs =;

// static
UserActivityDetector* UserActivityDetector::Get() {}

bool UserActivityDetector::HasObserver(
    const UserActivityObserver* observer) const {}

void UserActivityDetector::AddObserver(UserActivityObserver* observer) {}

void UserActivityDetector::RemoveObserver(UserActivityObserver* observer) {}

void UserActivityDetector::OnDisplayPowerChanging() {}

void UserActivityDetector::HandleExternalUserActivity() {}

void UserActivityDetector::DidProcessEvent(
    const PlatformEvent& platform_event) {}

void UserActivityDetector::PlatformEventSourceDestroying() {}

void UserActivityDetector::ResetStateForTesting() {}

void UserActivityDetector::InitPlatformEventSourceObservationForTesting() {}

UserActivityDetector::UserActivityDetector() {}

UserActivityDetector::~UserActivityDetector() = default;

void UserActivityDetector::InitPlatformEventSourceObservation() {}

base::TimeTicks UserActivityDetector::GetCurrentTime() const {}

void UserActivityDetector::ProcessReceivedEvent(const ui::Event* event) {}

void UserActivityDetector::HandleActivity(const ui::Event* event) {}

}  // namespace ui