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

Unified Diff: sky/shell/android/org/domokit/sky/shell/PlatformViewAndroid.java

Issue 1221033006: Teach Stocks.apk how to load a skyx bundle (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: again 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/services/engine/sky_engine.mojom ('k') | sky/shell/android/org/domokit/sky/shell/SkyActivity.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/shell/android/org/domokit/sky/shell/PlatformViewAndroid.java
diff --git a/sky/shell/android/org/domokit/sky/shell/PlatformViewAndroid.java b/sky/shell/android/org/domokit/sky/shell/PlatformViewAndroid.java
index 8343fdb5de5aa2af06b7cf5c9a9e062b0d08c57a..23f766729e6182429a535a5eac7c6b07baf4fb0b 100644
--- a/sky/shell/android/org/domokit/sky/shell/PlatformViewAndroid.java
+++ b/sky/shell/android/org/domokit/sky/shell/PlatformViewAndroid.java
@@ -186,6 +186,10 @@ public class PlatformViewAndroid extends SurfaceView
mSkyEngine.runFromSnapshot(path);
}
+ public void loadBundle(String path) {
+ mSkyEngine.runFromBundle(path);
+ }
+
public void loadUrl(String url) {
mSkyEngine.runFromNetwork(url);
}
« no previous file with comments | « sky/services/engine/sky_engine.mojom ('k') | sky/shell/android/org/domokit/sky/shell/SkyActivity.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698