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

Unified Diff: third_party/WebKit/LayoutTests/resources/mojo-helpers.js

Issue 2402293002: Add a Javascript wrapper for InterfaceRegistry. (Closed)
Patch Set: Created 4 years, 2 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/LayoutTests/resources/mojo-helpers.js
diff --git a/third_party/WebKit/LayoutTests/resources/mojo-helpers.js b/third_party/WebKit/LayoutTests/resources/mojo-helpers.js
index 7553fa5ba63a1d93974e78888c5739a9405855ae..1d9438c542eb5399884353444bb94b5bc967a8f2 100644
--- a/third_party/WebKit/LayoutTests/resources/mojo-helpers.js
+++ b/third_party/WebKit/LayoutTests/resources/mojo-helpers.js
@@ -32,8 +32,11 @@ define('Mojo Helpers', [
'mojo/public/js/router',
'mojo/public/js/support',
'content/public/renderer/frame_interfaces',
+ 'content/public/renderer/frame_interface_registry',
'content/public/renderer/interfaces',
-], (core, router, support, frameInterfaces, interfaces) => {
+ 'content/public/renderer/interface_registry',
+], (core, router, support, frameInterfaces, frameInterfaceRegistry,
+ interfaces, interfaceRegistry) => {
let tearDown = () => {
frameInterfaces.clearInterfaceOverridesForTesting();
interfaces.clearInterfaceOverridesForTesting();
@@ -47,7 +50,9 @@ define('Mojo Helpers', [
router,
support,
frameInterfaces,
+ frameInterfaceRegistry,
interfaces,
+ interfaceRegistry,
};
});

Powered by Google App Engine
This is Rietveld 408576698