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

Issue 1057603003: Simplify mojo_shell since it's now only used for Mandoline. (Closed)

Created:
5 years, 8 months ago by jam
Modified:
5 years, 8 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Simplify chromium's mojo_shell since it's now only used for Mandoline. -no need to map kiosk_wm to window_manager, instead, make kiosk_wm's binary output be window_manager.mojom -no need for app-specific args, instead use base::CommandLine. This is important for Mandoline since we'll be sharing code with Chrome which does use these flags. -mojo_shell url is enough to start a browser now -if an argument that starts with mojo: scheme is given (i.e. for an apptest), we load it. otherwise we run mojo:window_manager Committed: https://crrev.com/143eb32f63bd929f7d730970e2477804f318a7eb Cr-Commit-Position: refs/heads/master@{#324579} Committed: https://crrev.com/541ee5bc890db30033673826d3ed5c19ecd9d339 Cr-Commit-Position: refs/heads/master@{#324974}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : remove more #

Patch Set 4 : default url #

Total comments: 6

Patch Set 5 : #

Patch Set 6 : add comment #

Patch Set 7 : reupload after revert #

Patch Set 8 : fixes #

Total comments: 4

Patch Set 9 : fix linux #

Total comments: 1

Patch Set 10 : update scripts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -710 lines) Patch
M mojo/application/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +7 lines, -3 lines 0 comments Download
M mojo/application/application_runner_chromium.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/application/application_runner_chromium.cc View 1 2 3 4 5 6 7 8 3 chunks +17 lines, -1 line 0 comments Download
A + mojo/application/application_test_base_chromium.h View 1 2 3 4 5 6 7 3 chunks +3 lines, -6 lines 0 comments Download
A + mojo/application/application_test_base_chromium.cc View 1 2 3 4 5 6 7 6 chunks +26 lines, -41 lines 0 comments Download
M mojo/application/application_test_main_chromium.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -2 lines 0 comments Download
M mojo/services/BUILD.gn View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/services/clipboard/clipboard_apptest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/html_viewer/ax_provider_apptest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/html_viewer/html_viewer.cc View 1 2 3 4 5 6 2 chunks +1 line, -11 lines 0 comments Download
D mojo/services/html_viewer/view_url.py View 1 2 1 chunk +0 lines, -57 lines 0 comments Download
M mojo/services/kiosk_wm/BUILD.gn View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M mojo/services/kiosk_wm/kiosk_wm.cc View 1 2 3 4 5 6 2 chunks +13 lines, -3 lines 0 comments Download
M mojo/services/network/udp_socket_apptest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/network/url_loader_impl_apptest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/view_manager/view_manager_client_apptest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/view_manager/view_manager_service_apptest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/window_manager/BUILD.gn View 1 2 3 4 3 chunks +19 lines, -18 lines 0 comments Download
M mojo/services/window_manager/window_manager_apptest.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/shell/BUILD.gn View 1 2 3 4 5 6 2 chunks +0 lines, -3 lines 0 comments Download
M mojo/shell/android/main.cc View 1 2 3 chunks +2 lines, -9 lines 0 comments Download
M mojo/shell/application_manager/application_manager.h View 1 2 5 chunks +0 lines, -14 lines 0 comments Download
M mojo/shell/application_manager/application_manager.cc View 1 2 5 chunks +14 lines, -64 lines 0 comments Download
M mojo/shell/application_manager/application_manager_unittest.cc View 1 2 3 chunks +0 lines, -113 lines 0 comments Download
D mojo/shell/command_line_util.h View 1 2 1 chunk +0 lines, -38 lines 0 comments Download
D mojo/shell/command_line_util.cc View 1 2 1 chunk +0 lines, -90 lines 0 comments Download
D mojo/shell/command_line_util_unittest.cc View 1 2 1 chunk +0 lines, -83 lines 0 comments Download
M mojo/shell/context.cc View 1 2 2 chunks +0 lines, -17 lines 0 comments Download
M mojo/shell/desktop/launcher_process.cc View 1 2 3 4 5 6 7 5 chunks +18 lines, -52 lines 0 comments Download
M mojo/shell/native_application_support.cc View 1 2 3 4 5 2 chunks +21 lines, -0 lines 0 comments Download
M mojo/shell/shell_apptest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/switches.h View 1 2 2 chunks +1 line, -6 lines 0 comments Download
M mojo/shell/switches.cc View 1 2 2 chunks +0 lines, -42 lines 0 comments Download
M mojo/shell/url_resolver_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M mojo/tools/android_mojo_shell.py View 1 2 1 chunk +1 line, -19 lines 0 comments Download
M mojo/tools/apptest_runner.py View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -2 lines 0 comments Download
M mojo/tools/gtest.py View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 28 (7 generated)
jam
5 years, 8 months ago (2015-04-09 23:07:17 UTC) #2
Ben Goodger (Google)
https://codereview.chromium.org/1057603003/diff/60001/mojo/services/kiosk_wm/BUILD.gn File mojo/services/kiosk_wm/BUILD.gn (right): https://codereview.chromium.org/1057603003/diff/60001/mojo/services/kiosk_wm/BUILD.gn#newcode8 mojo/services/kiosk_wm/BUILD.gn:8: # kios_wm is the one and only window_manager used ...
5 years, 8 months ago (2015-04-09 23:25:22 UTC) #3
jam
https://codereview.chromium.org/1057603003/diff/60001/mojo/services/kiosk_wm/BUILD.gn File mojo/services/kiosk_wm/BUILD.gn (right): https://codereview.chromium.org/1057603003/diff/60001/mojo/services/kiosk_wm/BUILD.gn#newcode8 mojo/services/kiosk_wm/BUILD.gn:8: # kios_wm is the one and only window_manager used ...
5 years, 8 months ago (2015-04-10 00:06:55 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1057603003/100001
5 years, 8 months ago (2015-04-10 00:54:15 UTC) #6
Ben Goodger (Google)
lgtm to keep things moving, let's discuss the divergence aspect asynchronously.
5 years, 8 months ago (2015-04-10 00:55:56 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1057603003/100001
5 years, 8 months ago (2015-04-10 00:59:14 UTC) #10
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 8 months ago (2015-04-10 02:30:40 UTC) #11
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/143eb32f63bd929f7d730970e2477804f318a7eb Cr-Commit-Position: refs/heads/master@{#324579}
5 years, 8 months ago (2015-04-10 02:31:59 UTC) #12
msw
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/1082513002/ by msw@chromium.org. ...
5 years, 8 months ago (2015-04-10 22:45:51 UTC) #13
jam
On 2015/04/10 22:45:51, msw wrote: > A revert of this CL (patchset #6 id:100001) has ...
5 years, 8 months ago (2015-04-13 16:40:21 UTC) #15
msw
lmk when you've looked at the commandline on linux (maybe see my first attempt: <https://codereview.chromium.org/1070463003/diff/20001/mojo/application/application_test_main_chromium.cc?context=10&column_width=80&tab_spaces=8>) ...
5 years, 8 months ago (2015-04-13 18:15:46 UTC) #16
jam
fixed linux as well per your patch https://codereview.chromium.org/1057603003/diff/140001/mojo/shell/desktop/launcher_process.cc File mojo/shell/desktop/launcher_process.cc (right): https://codereview.chromium.org/1057603003/diff/140001/mojo/shell/desktop/launcher_process.cc#newcode79 mojo/shell/desktop/launcher_process.cc:79: // If ...
5 years, 8 months ago (2015-04-13 18:36:18 UTC) #17
msw
https://codereview.chromium.org/1057603003/diff/140001/mojo/shell/desktop/launcher_process.cc File mojo/shell/desktop/launcher_process.cc (right): https://codereview.chromium.org/1057603003/diff/140001/mojo/shell/desktop/launcher_process.cc#newcode79 mojo/shell/desktop/launcher_process.cc:79: // If a mojo app isn't specified (i.e. for ...
5 years, 8 months ago (2015-04-13 19:58:33 UTC) #18
Ben Goodger (Google)
One thought that has occurred to me here is that there should perhaps be two ...
5 years, 8 months ago (2015-04-13 20:13:30 UTC) #19
Ben Goodger (Google)
lgtm
5 years, 8 months ago (2015-04-13 23:11:27 UTC) #20
msw
Maybe update the CL description to mention that this will run the first app on ...
5 years, 8 months ago (2015-04-13 23:23:46 UTC) #21
jam
On 2015/04/13 23:23:46, msw wrote: > Maybe update the CL description to mention that this ...
5 years, 8 months ago (2015-04-14 00:18:07 UTC) #22
msw
lgtm
5 years, 8 months ago (2015-04-14 00:20:29 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1057603003/170001
5 years, 8 months ago (2015-04-14 00:21:46 UTC) #26
commit-bot: I haz the power
Committed patchset #10 (id:170001)
5 years, 8 months ago (2015-04-14 01:13:18 UTC) #27
commit-bot: I haz the power
5 years, 8 months ago (2015-04-14 01:14:14 UTC) #28
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/541ee5bc890db30033673826d3ed5c19ecd9d339
Cr-Commit-Position: refs/heads/master@{#324974}

Powered by Google App Engine
This is Rietveld 408576698