-
skyostil authored
Revert of Implement a runtime headless mode for Linux (patchset #20 id:380001 of https://codereview.chromium.org/1991953002/ ) Reason for revert: Unexpectedly added a couple of new static initializers: https://uberchromegw.corp.google.com/i/chromium/builders/Linux%20x64/builds/29946 Original issue's description: > Implement a runtime headless mode for Linux > > This patch implements a runtime headless mode (i.e., a > --headless command line switch) that makes it possible to > use a regular Chrome binary as a headless. When the binary > is launched with this switch, the main entrypoint calls > into the Headless Shell entrypoint, effectively starting > that shell instead of Chrome. > > To make this possible we must remove the dependency from > Headless to Ozone, because Ozone is a build-time feature > which is generally not enabled for regular Chrome builds. > In practice this means implementing a new headless-specific > WindowTreeHost and modifying various graphics and input > entrypoints to do something appropriate in headless mode. > > Since many of the modifications are in platform-specific > code, this initial patch only adds headless support in Linux. > Other platforms will be added later. > > Design doc: https://docs.google.com/document/d/1aIJUzQr3eougZQp90bp4mqGr5gY6hdUice8UPa-Ys90/edit# > > BUG=612904 > CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel > > Committed: https://crrev.com/eb0f3b0218478f30858dfa2078cb350ea259701f > Cr-Commit-Position: refs/heads/master@{#438152} TBR=jochen@chromium.org,eseckler@chromium.org,sky@chromium.org,zmo@chromium.org,vmiura@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=612904 Review-Url: https://codereview.chromium.org/2570873002 Cr-Commit-Position: refs/heads/master@{#438177}
afc6f8a4