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

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: Update manifest 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 RenderFrameHost* render_frame_host,
dcheng 2017/04/28 02:24:49 Nit: this appears to be unused, will it be used in
Hzj_jie 2017/04/28 04:53:01 I believe this is not useful at all. (The keyboard
22 blink::mojom::KeyboardLockServiceRequest request) {
23 mojo::MakeStrongBinding(
24 base::MakeUnique<KeyboardLockServiceImpl>(),
25 std::move(request));
26 }
27
28 void KeyboardLockServiceImpl::RequestKeyLock(
29 const std::vector<std::string>& key_codes,
30 const RequestKeyLockCallback& callback) {
31 // TODO(zijiehe): Implementation required.
32 callback.Run(true, std::string());
33 }
34
35 void KeyboardLockServiceImpl::CancelKeyLock() {
36 // TODO(zijiehe): Implementation required.
37 }
38
39 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698