Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Unified Diff: components/keyboard_lock/keyboard_lock_host_null.cc

Issue 2879033002: Keyboard Lock Host implementation
Patch Set: Remove useless files Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/keyboard_lock/keyboard_lock_host_null.cc
diff --git a/components/keyboard_lock/keyboard_lock_host_null.cc b/components/keyboard_lock/keyboard_lock_host_null.cc
new file mode 100644
index 0000000000000000000000000000000000000000..70804a5c15849c360c10f80a27c0317444f10949
--- /dev/null
+++ b/components/keyboard_lock/keyboard_lock_host_null.cc
@@ -0,0 +1,15 @@
+// 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/keyboard_lock_host.h"
+
+namespace keyboard_lock {
+
+// static
+ui::KeyboardCode KeyboardLockHost::NativeKeycodeToKeyboardCode(
+ uint32_t keycode) {
+ return static_cast<ui::KeyboardCode>(keycode);
+}
+
+} // namespace keyboard_lock
« no previous file with comments | « components/keyboard_lock/keyboard_lock_host.cc ('k') | components/keyboard_lock/keyboard_lock_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698