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

Unified Diff: sky/shell/apk/src/org/domokit/sky/shell/PlatformView.java

Issue 946583003: Teach SkyShell how to listen for VIEW intents of sky: urls. (Closed) Base URL: git@github.com:abarth/mojo.git@master
Patch Set: Created 5 years, 10 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
Index: sky/shell/apk/src/org/domokit/sky/shell/PlatformView.java
diff --git a/sky/shell/apk/src/org/domokit/sky/shell/PlatformView.java b/sky/shell/apk/src/org/domokit/sky/shell/PlatformView.java
index 0934fc5077905f27d942d1eef154ce830fcf880a..2f646c9cedbd2d1b1c8e3171ea7328d82da5e3fd 100644
--- a/sky/shell/apk/src/org/domokit/sky/shell/PlatformView.java
+++ b/sky/shell/apk/src/org/domokit/sky/shell/PlatformView.java
@@ -109,6 +109,10 @@ public class PlatformView extends SurfaceView {
return true;
}
+ public void loadUrl(String url) {
+ mViewportObserver.loadUrl(url);
+ }
+
private void attach() {
Core core = CoreImpl.getInstance();
Pair<ViewportObserver.Proxy, InterfaceRequest<ViewportObserver>> result =

Powered by Google App Engine
This is Rietveld 408576698