// 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/aura/scoped_simple_keyboard_hook.h" #include <utility> #include "base/containers/contains.h" #include "ui/events/keycodes/dom/dom_code.h" namespace aura { ScopedSimpleKeyboardHook::ScopedSimpleKeyboardHook( std::optional<base::flat_set<ui::DomCode>> dom_codes) : … { … } ScopedSimpleKeyboardHook::~ScopedSimpleKeyboardHook() = default; bool ScopedSimpleKeyboardHook::IsKeyLocked(ui::DomCode dom_code) { … } } // namespace aura