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

Side by Side Diff: sky/tests/services/iframe-embed-vmc.sky

Issue 1132063007: Rationalize Dart mojo and sky package structure (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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 | « sky/sdk/pubspec.yaml ('k') | sky/tests/services/network.sky » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <sky> 1 <sky>
2 2
3 <iframe></iframe> 3 <iframe></iframe>
4 4
5 <script> 5 <script>
6 import 'dart:async'; 6 import 'dart:async';
7 import 'dart:sky'; 7 import 'dart:sky';
8 import 'dart:sky.internals' as internals; 8 import 'dart:sky.internals' as internals;
9 import 'dart:typed_data'; 9 import 'dart:typed_data';
10 10
11 import 'package:mojo/public/dart/application.dart'; 11 import 'package:mojo/application.dart';
12 import 'package:mojo/public/dart/bindings.dart'; 12 import 'package:mojo/bindings.dart';
13 import 'package:mojo/public/dart/core.dart'; 13 import 'package:mojo/core.dart';
14 import 'package:mojom/mojo/shell.mojom.dart' as shell_mojom; 14 import 'package:mojom/mojo/shell.mojom.dart' as shell_mojom;
15 import 'package:mojom/mojo/input_events.mojom.dart' as input_events; 15 import 'package:mojom/mojo/input_events.mojom.dart' as input_events;
16 import 'package:mojom/mojo/view_manager.mojom.dart' as view_manager; 16 import 'package:mojom/mojo/view_manager.mojom.dart' as view_manager;
17 17
18 // This include is a hack which only works with sky_server. For this to work 18 // This include is a hack which only works with sky_server. For this to work
19 // in the sky_sdk, this echo_service would need to make its own dart package. 19 // in the sky_sdk, this echo_service would need to make its own dart package.
20 import '/gen/services/js/test/echo_service.mojom.dart' as echo_service_mojom; 20 import '/gen/services/js/test/echo_service.mojom.dart' as echo_service_mojom;
21 21
22 class IFrameEmbed extends Application { 22 class IFrameEmbed extends Application {
23 IFrameEmbed.fromHandle(MojoHandle handle) : super.fromHandle(handle); 23 IFrameEmbed.fromHandle(MojoHandle handle) : super.fromHandle(handle);
(...skipping 25 matching lines...) Expand all
49 49
50 main() { 50 main() {
51 var messagePipe = new MojoMessagePipe(); 51 var messagePipe = new MojoMessagePipe();
52 var app = new IFrameEmbed(messagePipe.endpoints[1]); 52 var app = new IFrameEmbed(messagePipe.endpoints[1]);
53 var shellProxy = new shell_mojom.ShellProxy.fromHandle( 53 var shellProxy = new shell_mojom.ShellProxy.fromHandle(
54 new MojoHandle(internals.takeShellProxyHandle())); 54 new MojoHandle(internals.takeShellProxyHandle()));
55 app.initializeFromShellProxy(shellProxy, [], ""); 55 app.initializeFromShellProxy(shellProxy, [], "");
56 } 56 }
57 </script> 57 </script>
58 </sky> 58 </sky>
OLDNEW
« no previous file with comments | « sky/sdk/pubspec.yaml ('k') | sky/tests/services/network.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698