Adam Barth
678d5f9bac
Cleanup MojoServices in dart:ui
...
This patch cleans up the way we expose Mojo services into Dart. It also adds a
service provider for "view services," which will evetually contain the raw
keyboard service.
2016-03-18 10:52:13 -07:00
Adam Barth
410aac589b
Flutter apps in Mozart should have reasonable Uri.base
...
Previously this value was the temp directory that we used to store the FLX
bundle. Now it's the URL given to us by MojoShell.
2016-03-18 09:53:44 -07:00
Adam Barth
95b5d5dfa8
Update uses of Mojo to new interfaces
2016-03-02 14:14:55 -08:00
Chinmay Garde
f9281a1edf
Allow specification of the FLX bundle (containing no Dart snapshot) outside the iOS/Mac application bundle.
...
Allows launching of apps without having any Xcodebuild step in the simulator.
2016-02-29 13:16:01 -08:00
Adam Barth
8111a77f73
Remove ServiceRegistry
...
We don't need this anymore now that we have Mozart.
2016-02-18 16:09:58 -08:00
Jason Simmons
f4542c9152
Use Engine::RunFromBundle and the ZipAssetBundle on all platforms
2016-02-12 11:50:00 -08:00
Jason Simmons
ae517c2fee
Add a way to override the snapshot when running an FLX bundle
2016-02-09 10:08:26 -08:00
Adam Barth
aec7d422e7
Pass the Mozart ViewHost into Dart
...
Dart needs access to the ViewHost in order to create child views.
2016-02-03 14:39:45 -08:00
Adam Barth
411c6bfa4b
Port flutter.mojo to Mozart
...
Everything should work except the keyboard.
2016-01-28 16:04:19 -08:00
Adam Barth
33d7553e39
Improve handling of window insets on Android
...
Now that we understand window insets, we don't need to hard-code the size of
the status bar. Also, convert the viewport metrics to be consistently in
physical pixels.
2016-01-21 11:24:17 -08:00
Jason Simmons
e55cf62694
Provide callbacks for activity pause and resume events
2015-12-15 18:01:36 -08:00
Jason Simmons
98427a2763
Tell Flutter about the host platform's locale
2015-12-07 14:27:22 -08:00
Adam Barth
68dfad8e92
Add --flx flag to load FLX files
...
Also, remove the --snapshot flag because using FLX files is the path we're
paving.
2015-11-27 23:14:07 -08:00
Adam Barth
a9db805f58
Add system-level routing
...
We now respect the "route" field in Intents to load a route other than '/'.
Also, use popRoute rather than events to indicate that the framework has asked
us to go back.
2015-11-24 12:40:41 -08:00
Kris Giesing
578ad3a68c
Add ServiceName to various interfaces
2015-11-20 13:49:10 -08:00
Adam Barth
ae58ba7c8c
Bring sky_shell.mojo up to feature parity with sky_viewer.mojo
...
I believe this patch implements all the remaining features from
sky_viewer.mojo.
2015-11-16 17:19:35 -08:00
Adam Barth
9dc71cb51f
Refactor how we wire up platform services
...
Now the control flow for wiring up platform services starts in the
platform-specific code. Previously we started in shared code, which was
imposing constraints on the startup sequence for all platforms. Now that we
start in platform-specific code, we'll be able to add better support for Mojo
in a future patch.
2015-11-16 12:24:28 -08:00
Adam Barth
33a1cd3e87
Remove sky: 🐚 :Engine's dependency on network_service
...
We weren't using the network service for anything.
2015-11-16 09:22:06 -08:00
Adam Barth
96b847cd43
Wire sky_shell.mojo up to native_viewport
...
After this patch, we can execute Dart code an create an X window. There's a
sketch of some graphics code, but it's not wired up yet.
2015-11-13 14:00:34 -08:00
Collin Jackson
abc7473ca6
Add a service for receiving hardware keys
2015-11-11 10:57:40 -08:00
Jason Simmons
9f2d723006
Replace the legacy pointer input event handling with PointerPackets
...
With this change we no longer need engine/core/events and its IDL bindings.
2015-11-10 14:34:12 -08:00
Chinmay Garde
4467e58221
Tell the engine about the flx bundle path when loading from a precompiled snapshot
2015-10-23 14:34:51 -07:00
Chinmay Garde
d6ff8e90b0
Switch to using precompiled snapshots on iOS
2015-10-22 17:27:40 -07:00
Adam Barth
b02963a1f6
Remove platform gesture detectors
2015-09-16 16:56:55 -07:00
Adam Barth
30a05aab46
Add a mojom for delivering pointer events in packets
...
We don't use this interface yet.
2015-08-28 09:39:35 -07:00
John McCutchan
44c883a340
Add DartPackage annotation
2015-07-30 14:19:09 -07:00
Collin Jackson
a64559ab70
After running filter-branch, move root directory into sky/
2015-07-16 11:54:25 -07:00