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

Unified Diff: content/common/frame.mojom

Issue 2805763004: [System-Keyboard-Lock] Forward navigator functions to RenderFrameHost (Closed)
Patch Set: Resolve review comments 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: content/common/frame.mojom
diff --git a/content/common/frame.mojom b/content/common/frame.mojom
index affcff1f5cbb82374823444bcbd30a46388c8e84..d8521c8ae7a46662a50c9bc41bc830498816bf8a 100644
--- a/content/common/frame.mojom
+++ b/content/common/frame.mojom
@@ -4,6 +4,8 @@
module content.mojom;
+import "mojo/common/string16.mojom";
+
import "services/service_manager/public/interfaces/interface_provider.mojom";
// The name of the InterfaceProviderSpec in service manifests used by the
@@ -28,6 +30,11 @@ interface FrameBindingsControl {
// Implemented by the frame server (i.e. the browser process).
interface FrameHost {
GetInterfaceProvider(service_manager.mojom.InterfaceProvider& interfaces);
+
+ RequestKeyLock(array<string> key_codes)
whywhat 2017/04/11 14:52:33 I think the intention here is for various APIs to
Hzj_jie 2017/04/12 02:51:05 Got you, thank you. The code has been updated.
+ => (bool allowed_by_user_or_browser, mojo.common.mojom.String16 reason);
+
+ CancelKeyLock() => ();
whywhat 2017/04/11 14:52:33 nit: I believe you can just omit => () if it's not
Hzj_jie 2017/04/12 02:51:05 The plan is to let browser tell renderer the finis
};
// Implemented by a service that provides implementations of the Frame

Powered by Google App Engine
This is Rietveld 408576698