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

Side by Side Diff: headless/test/data/mojo_page_two.html

Issue 2802733002: headless: Require headless team review for mojo changes (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « headless/test/data/mojo_page_one.html ('k') | headless/test/data/page_one.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <head> 2 <head>
3 <script> 3 <script>
4 // Note define() defines a module in the mojo module dependency 4 // Note define() defines a module in the mojo module dependency
5 // system. While we don't expose our module, the callback below only 5 // system. While we don't expose our module, the callback below only
6 // fires after the requested modules have been loaded. 6 // fires after the requested modules have been loaded.
7 define([ 7 define([
8 'headless/lib/embedder_test.mojom', 8 'headless/lib/embedder_test.mojom',
9 'content/public/renderer/frame_interfaces', 9 'content/public/renderer/frame_interfaces',
10 ], function(embedderMojom, frameInterfaces) { 10 ], function(embedderMojom, frameInterfaces) {
11 var testEmbedderService = new embedderMojom.TestEmbedderServicePtr( 11 var testEmbedderService = new embedderMojom.TestEmbedderServicePtr(
12 frameInterfaces.getInterface(embedderMojom.TestEmbedderService.name)); 12 frameInterfaces.getInterface(embedderMojom.TestEmbedderService.name));
13 13
14 // Send a message to the embedder! 14 // Send a message to the embedder!
15 testEmbedderService.returnTestResult('page two'); 15 testEmbedderService.returnTestResult('page two');
16 }); 16 });
17 </script> 17 </script>
18 </head> 18 </head>
19 <body><h1>Page two</h1></body> 19 <body><h1>Page two</h1></body>
OLDNEW
« no previous file with comments | « headless/test/data/mojo_page_one.html ('k') | headless/test/data/page_one.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698