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

Unified Diff: mojo/tools/mojo_demo.py

Issue 842553002: Rebuild the debug panel in the browser demo with sky. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Add network dependency. Created 5 years, 11 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 | « examples/window_manager/window_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/mojo_demo.py
diff --git a/mojo/tools/mojo_demo.py b/mojo/tools/mojo_demo.py
index ac4e32fddec9807e1a068cfb57425ea9e6da7050..980a5b403add596b0eaabb257ece6625ce5a48c7 100755
--- a/mojo/tools/mojo_demo.py
+++ b/mojo/tools/mojo_demo.py
@@ -40,7 +40,10 @@ def main():
server = SkyServer(sky_paths, HTTP_PORT, configuration, paths.src_root)
if args.demo == 'browser':
+ base_url = server.path_as_url(paths.build_dir)
+ wm_url = os.path.join(base_url, 'example_window_manager.mojo')
cmd.append('--url-mappings=mojo:window_manager=mojo:example_window_manager')
eseidel 2015/01/07 20:19:14 You'll want to load the window manager from an htt
+ cmd.append('--args-for=mojo:window_manager %s' % (wm_url))
cmd.append('mojo:window_manager')
elif args.demo == 'wm_flow':
base_url = server.path_as_url(paths.build_dir)
« no previous file with comments | « examples/window_manager/window_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698