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

Side by Side Diff: third_party/WebKit/public/platform/modules/keyboard_lock/keyboard_lock.mojom

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
« no previous file with comments | « third_party/WebKit/public/platform/modules/keyboard_lock/OWNERS ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 module blink.mojom;
6
7 // The browser side service to process navigator.requestKeyLock() and
8 // navigator.cancelKeyLock() web APIs. See http://crbug.com/680809.
9 interface KeyboardLockService {
10 // Registers a set of string-formatted key codes
11 // (https://www.w3.org/TR/uievents/#interface-keyboardevent) to the platform
12 // dependent native API, so the web page can receive these key codes
13 // thereafter.
14 // The reason will only be provided if the request is rejected.
15 // TODO(zijiehe): Update the return type once it's defined in the spec.
16 RequestKeyLock(array<string> key_codes)
17 => (bool allowed_by_user_or_browser, string reason);
18
19 // Removes all reserved keys. This function is expected to never fail.
20 CancelKeyLock();
21 };
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/modules/keyboard_lock/OWNERS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698