chromium/ui/ozone/common/base_keyboard_hook.cc

// Copyright 2021 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/ozone/common/base_keyboard_hook.h"

#include <utility>

#include "base/containers/contains.h"
#include "ui/events/keycodes/dom/dom_code.h"

namespace ui {

BaseKeyboardHook::BaseKeyboardHook(
    std::optional<base::flat_set<DomCode>> dom_codes,
    KeyEventCallback callback)
    :{}

BaseKeyboardHook::~BaseKeyboardHook() = default;

bool BaseKeyboardHook::IsKeyLocked(DomCode dom_code) const {}

bool BaseKeyboardHook::ShouldCaptureKeyEvent(DomCode dom_code) const {}

void BaseKeyboardHook::ForwardCapturedKeyEvent(KeyEvent* event) {}

}  // namespace ui