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

Unified Diff: sky/services/viewport/viewport_observer.mojom

Issue 1203143004: Make it possible to run Sky apps offline (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: gn check Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/tonic/dart_library_provider.h ('k') | sky/shell/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/services/viewport/viewport_observer.mojom
diff --git a/sky/services/viewport/viewport_observer.mojom b/sky/services/viewport/viewport_observer.mojom
index 6271729b7110023b2fa0ad759dc1a89dbe33b6d2..ce86699be25aa654fb5565e345a4d1be18c782a5 100644
--- a/sky/services/viewport/viewport_observer.mojom
+++ b/sky/services/viewport/viewport_observer.mojom
@@ -10,5 +10,8 @@ import "sky/services/viewport/input_event.mojom";
interface ViewportObserver {
OnViewportMetricsChanged(int32 width, int32 height, float device_pixel_ratio);
OnInputEvent(InputEvent event);
- LoadURL(string url);
+
+ RunFromNetwork(string url);
+ RunFromFile(string main, string package_root);
+ RunFromSnapshot(handle<data_pipe_consumer> snapshot);
};
« no previous file with comments | « sky/engine/tonic/dart_library_provider.h ('k') | sky/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698