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

Issue 1425543002: mozart: Add a simple tiling view manager. (Closed)

Created:
5 years, 2 months ago by jeffbrown
Modified:
5 years, 1 month ago
Reviewers:
jamesr, qsr, abarth
CC:
mojo-reviews_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

mozart: Add a simple tiling view manager. The tile view can be used to launch several applications based on the Mozart view system side by side all contained within the same view. It is a simple demonstration of view composition. Exempt all example code from logspam presubmit checks because it's often quite useful to be able to illustrate the operation of an example program to an interactive user. R=abarth@google.com Committed: https://chromium.googlesource.com/external/mojo/+/2df6b30903d2b030da6aa2f0a47ecfd4c83746a2

Patch Set 1 #

Patch Set 2 : #

Total comments: 33

Patch Set 3 : apply review comments #

Total comments: 17

Patch Set 4 : applied review comments #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+428 lines, -58 lines) Patch
M PRESUBMIT.py View 1 chunk +1 line, -1 line 0 comments Download
M examples/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A + examples/ui/tile/BUILD.gn View 1 2 3 4 2 chunks +8 lines, -7 lines 0 comments Download
A examples/ui/tile/README.md View 1 chunk +15 lines, -0 lines 0 comments Download
A + examples/ui/tile/main.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
A + examples/ui/tile/tile_app.h View 1 2 3 4 3 chunks +11 lines, -17 lines 0 comments Download
A examples/ui/tile/tile_app.cc View 1 2 3 4 1 chunk +65 lines, -0 lines 0 comments Download
A + examples/ui/tile/tile_view.h View 1 2 3 4 3 chunks +42 lines, -31 lines 0 comments Download
A examples/ui/tile/tile_view.cc View 1 2 3 4 1 chunk +283 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
jeffbrown
5 years, 2 months ago (2015-10-24 03:06:44 UTC) #2
abarth
LGTM https://codereview.chromium.org/1425543002/diff/20001/examples/ui/tile/tile_app.cc File examples/ui/tile/tile_app.cc (right): https://codereview.chromium.org/1425543002/diff/20001/examples/ui/tile/tile_app.cc#newcode51 examples/ui/tile/tile_app.cc:51: base::SplitString(url.query(), ',', &view_urls); This is kind of lame. ...
5 years, 2 months ago (2015-10-24 06:51:12 UTC) #3
jamesr
https://codereview.chromium.org/1425543002/diff/20001/examples/ui/tile/tile_view.cc File examples/ui/tile/tile_view.cc (right): https://codereview.chromium.org/1425543002/diff/20001/examples/ui/tile/tile_view.cc#newcode60 examples/ui/tile/tile_view.cc:60: mojo::InterfaceRequest<mojo::ServiceProvider>(), On 2015/10/24 at 06:51:12, abarth wrote: > there's ...
5 years, 1 month ago (2015-10-26 20:31:21 UTC) #4
jeffbrown
Lots of good comments, thanks. :) https://codereview.chromium.org/1425543002/diff/20001/examples/ui/tile/tile_app.cc File examples/ui/tile/tile_app.cc (right): https://codereview.chromium.org/1425543002/diff/20001/examples/ui/tile/tile_app.cc#newcode51 examples/ui/tile/tile_app.cc:51: base::SplitString(url.query(), ',', &view_urls); ...
5 years, 1 month ago (2015-10-27 03:13:08 UTC) #5
qsr
https://codereview.chromium.org/1425543002/diff/40001/examples/ui/tile/tile_view.cc File examples/ui/tile/tile_view.cc (right): https://codereview.chromium.org/1425543002/diff/40001/examples/ui/tile/tile_view.cc#newcode45 examples/ui/tile/tile_view.cc:45: for (auto url : view_urls_) { const auto& ? ...
5 years, 1 month ago (2015-10-27 09:01:27 UTC) #7
jeffbrown
https://codereview.chromium.org/1425543002/diff/40001/examples/ui/tile/tile_view.cc File examples/ui/tile/tile_view.cc (right): https://codereview.chromium.org/1425543002/diff/40001/examples/ui/tile/tile_view.cc#newcode45 examples/ui/tile/tile_view.cc:45: for (auto url : view_urls_) { On 2015/10/27 09:01:27, ...
5 years, 1 month ago (2015-10-27 22:54:24 UTC) #8
jamesr
Some more style and general C++ comments below we talked about redoing layout today but ...
5 years, 1 month ago (2015-10-27 22:58:28 UTC) #9
jeffbrown
https://codereview.chromium.org/1425543002/diff/40001/examples/ui/tile/tile_app.cc File examples/ui/tile/tile_app.cc (right): https://codereview.chromium.org/1425543002/diff/40001/examples/ui/tile/tile_app.cc#newcode31 examples/ui/tile/tile_app.cc:31: }; On 2015/10/27 22:58:27, jamesr wrote: > probably want ...
5 years, 1 month ago (2015-10-27 23:24:19 UTC) #10
jamesr
On 2015/10/27 at 23:24:19, jeffbrown wrote: > Done. > > https://codereview.chromium.org/1425543002/diff/40001/examples/ui/tile/tile_view.h#newcode50 > examples/ui/tile/tile_view.h:50: DISALLOW_COPY_AND_ASSIGN(ViewData); > ...
5 years, 1 month ago (2015-10-27 23:27:52 UTC) #11
jamesr
On 2015/10/27 at 23:24:19, jeffbrown wrote: > Done. > > https://codereview.chromium.org/1425543002/diff/40001/examples/ui/tile/tile_view.h#newcode50 > examples/ui/tile/tile_view.h:50: DISALLOW_COPY_AND_ASSIGN(ViewData); > ...
5 years, 1 month ago (2015-10-27 23:27:53 UTC) #12
jeffbrown
On 2015/10/27 23:27:53, jamesr wrote: > On 2015/10/27 at 23:24:19, jeffbrown wrote: > > Done. ...
5 years, 1 month ago (2015-10-27 23:35:19 UTC) #13
jeffbrown
5 years, 1 month ago (2015-10-28 01:48:36 UTC) #14
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
2df6b30903d2b030da6aa2f0a47ecfd4c83746a2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698