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

Side by Side Diff: examples/ui/tile/README.md

Issue 1869263002: Mozart: Enhance tile app to test various sync behaviors. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-1
Patch Set: Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | examples/ui/tile/tile_app.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Mozart View Tiling Example 1 # Mozart View Tiling Example
2 2
3 This directory contains a simple application which embeds any number of 3 This directory contains a simple application which embeds any number of
4 views from other applications all tiled in a row. 4 views from other applications all tiled in a row.
5 5
6 The applications must implement the ViewProvider interface and register 6 The applications must implement the ViewProvider interface and register
7 their Views with the ViewManager for this to work. 7 their Views with the ViewManager for this to work.
8 8
9 ## USAGE 9 ## USAGE
10 10
11 out/Debug/mojo_shell "mojo:launcher mojo:tile_view?<app1>[,<app2>[,...]]" 11 Specify the urls of the views to embed as a comma-delimited query string.
12 12
13 Specify the urls of the views to embed as a comma-delimited query parameter. 13 out/Debug/mojo_shell "mojo:launcher mojo:tile_view?views=<app1>[,<app2>[,...]] "
14 14
15 eg. out/Debug/mojo_shell "mojo:launcher mojo:tile_view?mojo:spinning_cube_view ,mojo:noodles_view" 15 eg. out/Debug/mojo_shell "mojo:launcher mojo:tile_view?views=mojo:spinning_cub e_view,mojo:noodles_view"
16
17 The query string may also encode tiling options by appending parameters to
18 the end of the query string.
19
20 Version mode for child views:
21
22 &vm=any : composite most recent unblocked version of each child (default)
23 &vm=exact : composite only exact version of child specified during
24 layout (forces frame-level synchronization of resizing)
25
26 Combinator mode for child views:
27
28 &cm=merge : use MERGE combinator (default)
29 &cm=prune : use PRUNE combinator
30 &cm=flash : use FALLBACK combinator with solid red color as
31 alternate content
32 &cm=dim : use FALLBACK combinator with a dimmed layer containing the
33 most recent unblocked version of the child
34
35 Orientation mode for child views:
36
37 &o=h : tile children horizontally
38 &o=v : tile children vertically
OLDNEW
« no previous file with comments | « no previous file | examples/ui/tile/tile_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698