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_one.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/lib/embedder_mojo_browsertest.cc ('k') | headless/test/data/page_two.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/test/data/page_one.html
diff --git a/headless/test/data/page_one.html b/headless/test/data/page_one.html
index 469b95aca83bb0a017dcfbf67ddb2bddb838f8fc..a29176e7801a9022389b574b5a0ec037670c619f 100644
--- a/headless/test/data/page_one.html
+++ b/headless/test/data/page_one.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 one');
« no previous file with comments | « headless/lib/embedder_mojo_browsertest.cc ('k') | headless/test/data/page_two.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698