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

Side by Side Diff: content/browser/keyboard_lock/keyboard_lock_service_impl.cc

Issue 2805763004: [System-Keyboard-Lock] Forward navigator functions to RenderFrameHost (Closed)
Patch Set: Sync latest changes Created 3 years, 7 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 "content/browser/keyboard_lock/keyboard_lock_service_impl.h"
6
7 #include <memory>
8 #include <utility>
9
10 #include "base/memory/ptr_util.h"
11 #include "content/public/browser/render_frame_host.h"
12
13 namespace content {
14
15 KeyboardLockServiceImpl::KeyboardLockServiceImpl() = default;
16
17 KeyboardLockServiceImpl::~KeyboardLockServiceImpl() = default;
18
19 // static
20 void KeyboardLockServiceImpl::CreateMojoService(
21 blink::mojom::KeyboardLockServiceRequest request) {
22 mojo::MakeStrongBinding(
23 base::MakeUnique<KeyboardLockServiceImpl>(),
24 std::move(request));
25 }
26
27 void KeyboardLockServiceImpl::RequestKeyLock(
28 const std::vector<std::string>& key_codes,
29 const RequestKeyLockCallback& callback) {
30 // TODO(zijiehe): Implementation required.
31 callback.Run(true, std::string());
32 }
33
34 void KeyboardLockServiceImpl::CancelKeyLock() {
35 // TODO(zijiehe): Implementation required.
36 }
37
38 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/keyboard_lock/keyboard_lock_service_impl.h ('k') | content/public/app/mojo/content_browser_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698