| Index: components/keyboard_lock/platform_key_hook_null.cc
|
| diff --git a/components/keyboard_lock/platform_key_hook_null.cc b/components/keyboard_lock/platform_key_hook_null.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..95895728ed96da0dbaac0d21ad01497fdcb4c62b
|
| --- /dev/null
|
| +++ b/components/keyboard_lock/platform_key_hook_null.cc
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "components/keyboard_lock/platform_key_hook.h"
|
| +
|
| +namespace keyboard_lock {
|
| +
|
| +PlatformKeyHook::PlatformKeyHook(Browser* owner, KeyEventFilter* filter)
|
| + : owner_(owner),
|
| + filter_(filter) {}
|
| +
|
| +PlatformKeyHook::~PlatformKeyHook() = default;
|
| +
|
| +bool PlatformKeyHook::RegisterKey(const std::vector<ui::KeyboardCode>& codes) {
|
| + return false;
|
| +}
|
| +
|
| +bool PlatformKeyHook::UnregisterKey(
|
| + const std::vector<ui::KeyboardCode>& codes) {
|
| + return false;
|
| +}
|
| +
|
| +} // namespace keyboard_lock
|
|
|