chromium/ui/events/keyboard_hook_base.cc

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

#include "ui/events/keyboard_hook_base.h"

#include <utility>

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

namespace ui {

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

KeyboardHookBase::~KeyboardHookBase() = default;

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

bool KeyboardHookBase::RegisterHook() {}

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

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

}  // namespace ui