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

Side by Side Diff: components/keyboard_lock/keyboard_lock_host.cc

Issue 2815023002: [System-Keyboard-Lock] Add KeyboardLockHost and KeyEventInterceptor (Closed)
Patch Set: Use NativeKeycode instead of ui::KeyboardCode Created 3 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "components/keyboard_lock/keyboard_lock_host.h"
6
7 #include <utility>
8
9 #include "base/logging.h"
10 #include "base/single_thread_task_runner.h"
11
12 namespace keyboard_lock {
13
14 KeyboardLockHost::KeyboardLockHost(
15 scoped_refptr<base::SingleThreadTaskRunner> runner)
16 : runner_(std::move(runner)) {
17 DCHECK(runner_);
18 }
19
20 KeyboardLockHost::~KeyboardLockHost() = default;
21
22 } // namespace keyboard_lock
OLDNEW
« no previous file with comments | « components/keyboard_lock/keyboard_lock_host.h ('k') | components/keyboard_lock/keyboard_lock_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698