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

Issue 1410693003: mozart: Introduce new view manager interfaces. (Closed)

Created:
5 years, 1 month ago by jeffbrown
Modified:
5 years, 1 month ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, darin (slow to review), gregsimon, mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

mozart: Introduce new view manager interfaces. This change adds mojom interfaces for the new Mozart view manager. Mozart is different from the old view manager in several ways: - It does not require a C++ client library to use it. - The overall design is more centralized. The view manager keeps track of the state of all views and mediates interactions between them. This significantly reduces the complexity of using these interfaces safely. - The view manager supports basic layout negotiations between views. - Only view management concerns are addressed by the core view interfaces. Other concerns, such as input, will be addressed by services which are associated with views but managed separately. R=abarth@chromium.org, jamesr@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/a997cec7d0e0133df53f2be9070e0a6086347acd

Patch Set 1 #

Total comments: 20

Patch Set 2 : applied review comments #

Patch Set 3 : applied review comments #

Total comments: 2

Patch Set 4 : applied review comments #

Patch Set 5 : applied review comments #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+420 lines, -5 lines) Patch
M mojo/services/mojo_services.gni View 1 chunk +1 line, -0 lines 0 comments Download
A + mojo/services/ui/views/interfaces/BUILD.gn View 1 2 3 4 1 chunk +8 lines, -5 lines 0 comments Download
A mojo/services/ui/views/interfaces/layouts.mojom View 1 1 chunk +73 lines, -0 lines 0 comments Download
A mojo/services/ui/views/interfaces/view_manager.mojom View 1 1 chunk +49 lines, -0 lines 0 comments Download
A mojo/services/ui/views/interfaces/view_provider.mojom View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
A mojo/services/ui/views/interfaces/view_trees.mojom View 1 1 chunk +92 lines, -0 lines 0 comments Download
A mojo/services/ui/views/interfaces/views.mojom View 1 1 chunk +167 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
jeffbrown
5 years, 1 month ago (2015-10-24 02:39:24 UTC) #2
abarth-chromium
This looks great. LGTM, but you should obviously get jamesr to review it as well. ...
5 years, 1 month ago (2015-10-24 05:09:30 UTC) #4
jamesr
https://codereview.chromium.org/1410693003/diff/1/mojo/services/ui/views/interfaces/layouts.mojom File mojo/services/ui/views/interfaces/layouts.mojom (right): https://codereview.chromium.org/1410693003/diff/1/mojo/services/ui/views/interfaces/layouts.mojom#newcode32 mojo/services/ui/views/interfaces/layouts.mojom:32: // Must be >= 0. we could express this ...
5 years, 1 month ago (2015-10-26 19:35:39 UTC) #5
jeffbrown
https://codereview.chromium.org/1410693003/diff/1/mojo/services/ui/views/interfaces/layouts.mojom File mojo/services/ui/views/interfaces/layouts.mojom (right): https://codereview.chromium.org/1410693003/diff/1/mojo/services/ui/views/interfaces/layouts.mojom#newcode32 mojo/services/ui/views/interfaces/layouts.mojom:32: // Must be >= 0. On 2015/10/26 19:35:38, jamesr ...
5 years, 1 month ago (2015-10-27 01:49:07 UTC) #6
qsr
https://codereview.chromium.org/1410693003/diff/40001/mojo/services/ui/views/interfaces/view_provider.mojom File mojo/services/ui/views/interfaces/view_provider.mojom (right): https://codereview.chromium.org/1410693003/diff/40001/mojo/services/ui/views/interfaces/view_provider.mojom#newcode22 mojo/services/ui/views/interfaces/view_provider.mojom:22: // The |view_token| must This comment is incomplete
5 years, 1 month ago (2015-10-27 10:51:25 UTC) #8
jeffbrown
https://codereview.chromium.org/1410693003/diff/40001/mojo/services/ui/views/interfaces/view_provider.mojom File mojo/services/ui/views/interfaces/view_provider.mojom (right): https://codereview.chromium.org/1410693003/diff/40001/mojo/services/ui/views/interfaces/view_provider.mojom#newcode22 mojo/services/ui/views/interfaces/view_provider.mojom:22: // The |view_token| must On 2015/10/27 10:51:25, qsr wrote: ...
5 years, 1 month ago (2015-10-27 22:48:46 UTC) #9
jamesr
We'll continue to iterate on layout, etc, but lgtm to land this for now
5 years, 1 month ago (2015-10-27 22:59:06 UTC) #10
jeffbrown
5 years, 1 month ago (2015-10-28 01:43:38 UTC) #11
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
a997cec7d0e0133df53f2be9070e0a6086347acd (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698