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

Issue 514063003: Update view_manager and window_manager to make use of content handling. (Closed)

Created:
6 years, 3 months ago by Aaron Boodman
Modified:
6 years, 3 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, darin (slow to review), ben+mojo_chromium.org, hansmuller
Base URL:
https://chromium.googlesource.com/chromium/src.git@viewman2
Project:
chromium
Visibility:
Public.

Description

Update view_manager and window_manager to make use of content handling. This required ripping out the old concept of app navigation, since it is no longer compatible with how apps get connected to. BUG= Committed: https://crrev.com/d098906547cc70f8626709ae1243be7f8c1e0e22 Cr-Commit-Position: refs/heads/master@{#293452}

Patch Set 1 #

Total comments: 13

Patch Set 2 : skyments #

Patch Set 3 : different approach #

Patch Set 4 : rebase #

Total comments: 10

Patch Set 5 : darmints #

Patch Set 6 : rebase #

Patch Set 7 : git cl format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+376 lines, -547 lines) Patch
M mojo/examples/aura_demo/aura_demo.cc View 1 2 3 4 5 6 5 chunks +6 lines, -7 lines 0 comments Download
M mojo/examples/browser/browser.cc View 1 2 4 chunks +4 lines, -3 lines 0 comments Download
M mojo/examples/embedded_app/embedded_app.cc View 1 2 3 4 5 6 4 chunks +11 lines, -65 lines 0 comments Download
M mojo/examples/keyboard/keyboard.cc View 1 2 4 chunks +8 lines, -3 lines 0 comments Download
M mojo/examples/media_viewer/media_viewer.cc View 1 2 4 chunks +4 lines, -3 lines 0 comments Download
M mojo/examples/nesting_app/nesting_app.cc View 1 2 3 4 5 6 6 chunks +9 lines, -56 lines 0 comments Download
M mojo/examples/png_viewer/png_viewer.cc View 1 2 3 4 5 6 4 chunks +139 lines, -152 lines 0 comments Download
M mojo/examples/window_manager/debug_panel.h View 1 2 chunks +0 lines, -5 lines 0 comments Download
M mojo/examples/window_manager/debug_panel.cc View 1 2 chunks +1 line, -4 lines 0 comments Download
M mojo/examples/window_manager/window_manager.cc View 1 2 3 4 5 6 7 chunks +12 lines, -46 lines 0 comments Download
M mojo/examples/wm_flow/app/app.cc View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download
M mojo/examples/wm_flow/embedded/embedded.cc View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M mojo/mojo_examples.gypi View 1 chunk +1 line, -1 line 0 comments Download
M mojo/mojo_services.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/cpp/application/application_impl.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/services/html_viewer/html_document_view.h View 1 2 4 chunks +33 lines, -9 lines 0 comments Download
M mojo/services/html_viewer/html_document_view.cc View 1 2 3 4 5 6 7 chunks +41 lines, -15 lines 0 comments Download
M mojo/services/html_viewer/html_viewer.cc View 1 2 3 4 5 6 1 chunk +28 lines, -68 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_manager_client_factory.cc View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.h View 1 2 3 4 5 6 1 chunk +2 lines, -3 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc View 1 2 3 4 5 6 3 chunks +6 lines, -5 lines 0 comments Download
M mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc View 1 2 3 chunks +9 lines, -3 lines 0 comments Download
M mojo/services/public/cpp/view_manager/view_manager_client_factory.h View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M mojo/services/view_manager/connection_manager.h View 1 chunk +0 lines, -4 lines 0 comments Download
M mojo/services/view_manager/connection_manager.cc View 1 chunk +0 lines, -12 lines 0 comments Download
M mojo/services/view_manager/view_manager_service_impl.h View 1 1 chunk +0 lines, -5 lines 0 comments Download
M mojo/services/view_manager/view_manager_service_impl.cc View 1 2 chunks +18 lines, -52 lines 0 comments Download
M mojo/services/view_manager/view_manager_unittest.cc View 1 3 chunks +7 lines, -8 lines 0 comments Download
M mojo/services/window_manager/window_manager_api_unittest.cc View 1 2 3 chunks +8 lines, -4 lines 0 comments Download
M mojo/services/window_manager/window_manager_app.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/window_manager/window_manager_app.cc View 1 2 3 3 chunks +4 lines, -2 lines 0 comments Download
M mojo/shell/context.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M mojo/shell/dynamic_application_loader.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 25 (5 generated)
Aaron Boodman
aa@chromium.org changed reviewers: + darin@chromium.org, sky@chromium.org
6 years, 3 months ago (2014-08-29 02:16:21 UTC) #1
Aaron Boodman
sky: please review changes to viewmanager and examples/window_manager. darin: everything else. hans: I didn't actually ...
6 years, 3 months ago (2014-08-29 02:16:21 UTC) #2
Aaron Boodman
Patchset #1 (id:1) has been deleted
6 years, 3 months ago (2014-08-29 02:20:48 UTC) #3
Aaron Boodman
Patchset #1 (id:20001) has been deleted
6 years, 3 months ago (2014-08-29 02:20:54 UTC) #4
Aaron Boodman
Patchset #1 (id:40001) has been deleted
6 years, 3 months ago (2014-08-29 02:20:59 UTC) #5
darin (slow to review)
https://codereview.chromium.org/514063003/diff/60001/mojo/public/cpp/application/service_provider_impl.h File mojo/public/cpp/application/service_provider_impl.h (right): https://codereview.chromium.org/514063003/diff/60001/mojo/public/cpp/application/service_provider_impl.h#newcode21 mojo/public/cpp/application/service_provider_impl.h:21: ServiceProviderImpl(ApplicationConnection* application_connection); nit: explicit https://codereview.chromium.org/514063003/diff/60001/mojo/services/html_viewer/html_document_view.h File mojo/services/html_viewer/html_document_view.h (right): https://codereview.chromium.org/514063003/diff/60001/mojo/services/html_viewer/html_document_view.h#newcode34 ...
6 years, 3 months ago (2014-08-29 05:59:43 UTC) #6
Aaron Boodman
https://codereview.chromium.org/514063003/diff/60001/mojo/services/html_viewer/html_viewer.cc File mojo/services/html_viewer/html_viewer.cc (right): https://codereview.chromium.org/514063003/diff/60001/mojo/services/html_viewer/html_viewer.cc#newcode68 mojo/services/html_viewer/html_viewer.cc:68: content_handler_factory_.set_context(connection); On 2014/08/29 05:59:42, darin wrote: > I'm a ...
6 years, 3 months ago (2014-08-29 07:45:11 UTC) #7
sky
+ben now that he is back. Ben, the interesting thing is the change to the ...
6 years, 3 months ago (2014-09-02 15:47:16 UTC) #9
Aaron Boodman
On 2014/09/02 15:47:16, sky wrote: > +ben now that he is back. Ben, the interesting ...
6 years, 3 months ago (2014-09-02 16:22:19 UTC) #10
Aaron Boodman
https://codereview.chromium.org/514063003/diff/60001/mojo/examples/window_manager/debug_panel.cc File mojo/examples/window_manager/debug_panel.cc (right): https://codereview.chromium.org/514063003/diff/60001/mojo/examples/window_manager/debug_panel.cc#newcode120 mojo/examples/window_manager/debug_panel.cc:120: next_color_++; On 2014/09/02 15:47:15, sky wrote: > You removed ...
6 years, 3 months ago (2014-09-02 19:10:44 UTC) #11
sky
LGTM
6 years, 3 months ago (2014-09-02 19:22:11 UTC) #12
Ben Goodger (Google)
lgtm https://codereview.chromium.org/514063003/diff/60001/mojo/services/view_manager/view_manager_service_impl.cc File mojo/services/view_manager/view_manager_service_impl.cc (right): https://codereview.chromium.org/514063003/diff/60001/mojo/services/view_manager/view_manager_service_impl.cc#newcode472 mojo/services/view_manager/view_manager_service_impl.cc:472: // Only allow a node to be the ...
6 years, 3 months ago (2014-09-02 20:50:14 UTC) #13
Aaron Boodman
Darin PTAL Here is a different approach to connecting to WindowManager from inside ViewManager which ...
6 years, 3 months ago (2014-09-03 00:12:15 UTC) #15
darin (slow to review)
LGTM https://codereview.chromium.org/514063003/diff/140001/mojo/examples/png_viewer/png_viewer.cc File mojo/examples/png_viewer/png_viewer.cc (right): https://codereview.chromium.org/514063003/diff/140001/mojo/examples/png_viewer/png_viewer.cc#newcode201 mojo/examples/png_viewer/png_viewer.cc:201: new PNGView(response.Pass(), exported_services, remote.Pass(), shell_); nit: add a ...
6 years, 3 months ago (2014-09-04 21:33:51 UTC) #16
Aaron Boodman
https://codereview.chromium.org/514063003/diff/140001/mojo/examples/png_viewer/png_viewer.cc File mojo/examples/png_viewer/png_viewer.cc (right): https://codereview.chromium.org/514063003/diff/140001/mojo/examples/png_viewer/png_viewer.cc#newcode216 mojo/examples/png_viewer/png_viewer.cc:216: content_handler_factory_.reset( On 2014/09/04 21:33:51, darin wrote: > food for ...
6 years, 3 months ago (2014-09-04 22:31:43 UTC) #17
Aaron Boodman
https://codereview.chromium.org/514063003/diff/140001/mojo/examples/png_viewer/png_viewer.cc File mojo/examples/png_viewer/png_viewer.cc (right): https://codereview.chromium.org/514063003/diff/140001/mojo/examples/png_viewer/png_viewer.cc#newcode201 mojo/examples/png_viewer/png_viewer.cc:201: new PNGView(response.Pass(), exported_services, remote.Pass(), shell_); On 2014/09/04 21:33:51, darin ...
6 years, 3 months ago (2014-09-05 02:41:31 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aa@chromium.org/514063003/200001
6 years, 3 months ago (2014-09-05 02:45:47 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aa@chromium.org/514063003/200001
6 years, 3 months ago (2014-09-05 03:39:51 UTC) #23
commit-bot: I haz the power
Committed patchset #7 (id:200001) as 342280004829791be13f1ba2443d8ba636ddf529
6 years, 3 months ago (2014-09-05 05:18:08 UTC) #24
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:37:14 UTC) #25
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/d098906547cc70f8626709ae1243be7f8c1e0e22
Cr-Commit-Position: refs/heads/master@{#293452}

Powered by Google App Engine
This is Rietveld 408576698