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

Unified Diff: headless/test/data/page_two.html

Issue 2571903003: Mojo JS bindings: switch most usage of "connection"/"router" module to "bindings". (Closed)
Patch Set: remove the changes to web_ui_mojo.js which seemed to cause flakiness. Created 4 years 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
« no previous file with comments | « headless/test/data/page_one.html ('k') | ios/web/test/data/mojo_test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/test/data/page_two.html
diff --git a/headless/test/data/page_two.html b/headless/test/data/page_two.html
index 7cf22d4eeb95c6ddd5eccf02f22778df85a7fe52..47edec7f02afb43a8887518c48398dec6f2912e1 100644
--- a/headless/test/data/page_two.html
+++ b/headless/test/data/page_two.html
@@ -6,16 +6,10 @@
// fires after the requested modules have been loaded.
define([
'headless/lib/embedder_test.mojom',
- 'mojo/public/js/core',
- 'mojo/public/js/router',
'content/public/renderer/frame_interfaces',
- ], function(embedderMojom, mojoCore, routerModule,
- frameInterfaces) {
- var testEmbedderService =
- new embedderMojom.TestEmbedderService.proxyClass(
- new routerModule.Router(
- frameInterfaces.getInterface(
- embedderMojom.TestEmbedderService.name)));
+ ], function(embedderMojom, frameInterfaces) {
+ var testEmbedderService = new embedderMojom.TestEmbedderServicePtr(
+ frameInterfaces.getInterface(embedderMojom.TestEmbedderService.name));
// Send a message to the embedder!
testEmbedderService.returnTestResult('page two');
« no previous file with comments | « headless/test/data/page_one.html ('k') | ios/web/test/data/mojo_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698