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

Unified 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: Add external/wpt tests Created 3 years, 8 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: third_party/WebKit/public/platform/modules/keyboard_lock/keyboard_lock.mojom
diff --git a/third_party/WebKit/public/platform/modules/keyboard_lock/keyboard_lock.mojom b/third_party/WebKit/public/platform/modules/keyboard_lock/keyboard_lock.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..97daf5437df56a29d515bc3b0caa7bdc581be04d
--- /dev/null
+++ b/third_party/WebKit/public/platform/modules/keyboard_lock/keyboard_lock.mojom
@@ -0,0 +1,12 @@
+// 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.
+
+module blink.mojom;
+
+interface KeyboardLockService {
whywhat 2017/04/12 16:02:13 nit: add some comments to the interface and method
Hzj_jie 2017/04/13 00:38:54 Updated. But in Chrome, we never reject the reques
+ RequestKeyLock(array<string> key_codes)
+ => (bool allowed_by_user_or_browser, string reason);
+
+ CancelKeyLock() => ();
+};

Powered by Google App Engine
This is Rietveld 408576698