Simplify some mojo_shell code.
commitedc54e0f7f19fbd76a84d470fec909631740c560
authorjam <jam@chromium.org>
Mon, 6 Apr 2015 22:30:00 +0000 (6 15:30 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 6 Apr 2015 22:31:05 +0000 (6 22:31 +0000)
tree8eea48b9bf96670b5d9f945b01d37e502e035dad
parent7f9a9aac8a45e36e4b8d1621b9b50ffca91cf38b
Simplify some mojo_shell code.

-make desktop/main.cc be a near empty file that calls out to separate files for main ("launcher" per naming discussions) or child process
-remove ChildProcess and derived classs; one method is enough
-remove unused mojo/shell/launcher_main.cc
-use a more reasonable size window on desktop

Review URL: https://codereview.chromium.org/1065433002

Cr-Commit-Position: refs/heads/master@{#323964}
12 files changed:
mojo/services/kiosk_wm/kiosk_wm.cc
mojo/shell/BUILD.gn
mojo/shell/app_child_process.h [deleted file]
mojo/shell/child_process.cc [moved from mojo/shell/app_child_process.cc with 93% similarity]
mojo/shell/child_process.h
mojo/shell/desktop/launcher_process.cc [copied from mojo/shell/desktop/main.cc with 54% similarity]
mojo/shell/desktop/launcher_process.h [new file with mode: 0644]
mojo/shell/desktop/main.cc
mojo/shell/launcher_main.cc [deleted file]
mojo/shell/shell_test_main.cc
mojo/shell/switches.cc
mojo/shell/switches.h