Tentative plan:
1. Remove headless/ dependency on ozone.
2. Have chrome_main dispatch into headless if --headless is present.
3. Fix remaining problematic code paths to do the right thing for headless.
Super hacky prototype: https://codereview.chromium.org/1991953002
Quick update: the patch is now looking a lot more respectable but it adds about 400k to the Linux release binary size. I'll see if we can reduce this overhead a bit.
Comment 1 by elawrence@chromium.org
, May 18 2016