chromium/third_party/blink/renderer/modules/keyboard/keyboard.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 "third_party/blink/renderer/modules/keyboard/keyboard.h"

#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/modules/keyboard/keyboard_layout.h"
#include "third_party/blink/renderer/modules/keyboard/keyboard_lock.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"

namespace blink {

Keyboard::Keyboard(ExecutionContext* context)
    :{}

Keyboard::~Keyboard() = default;

ScriptPromise<IDLUndefined> Keyboard::lock(ScriptState* state,
                                           const Vector<String>& keycodes,
                                           ExceptionState& exception_state) {}

void Keyboard::unlock(ScriptState* state) {}

ScriptPromise<KeyboardLayoutMap> Keyboard::getLayoutMap(
    ScriptState* state,
    ExceptionState& exception_state) {}

void Keyboard::Trace(Visitor* visitor) const {}

}  // namespace blink