For headless, we'd like to be able to set the default background color for a page through DevTools. Looks like that's handled by WebFrameWidget::setBaseBackgroundColor.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9e1762d63c728455a9a45f3541097f73118db2a7 commit 9e1762d63c728455a9a45f3541097f73118db2a7 Author: eseckler <eseckler@chromium.org> Date: Tue Feb 07 05:41:38 2017 [devtools] Add a command to emulate the default background color. BUG= 683073 Review-Url: https://codereview.chromium.org/2643723008 Cr-Commit-Position: refs/heads/master@{#448557} [add] https://crrev.com/9e1762d63c728455a9a45f3541097f73118db2a7/third_party/WebKit/LayoutTests/inspector-protocol/emulation/default-background-color-cleared-expected.html [add] https://crrev.com/9e1762d63c728455a9a45f3541097f73118db2a7/third_party/WebKit/LayoutTests/inspector-protocol/emulation/default-background-color-cleared.html [add] https://crrev.com/9e1762d63c728455a9a45f3541097f73118db2a7/third_party/WebKit/LayoutTests/inspector-protocol/emulation/default-background-color-expected.html [add] https://crrev.com/9e1762d63c728455a9a45f3541097f73118db2a7/third_party/WebKit/LayoutTests/inspector-protocol/emulation/default-background-color.html [modify] https://crrev.com/9e1762d63c728455a9a45f3541097f73118db2a7/third_party/WebKit/Source/core/inspector/browser_protocol.json [modify] https://crrev.com/9e1762d63c728455a9a45f3541097f73118db2a7/third_party/WebKit/Source/core/inspector/inspector_protocol_config.json [modify] https://crrev.com/9e1762d63c728455a9a45f3541097f73118db2a7/third_party/WebKit/Source/web/InspectorEmulationAgent.cpp [modify] https://crrev.com/9e1762d63c728455a9a45f3541097f73118db2a7/third_party/WebKit/Source/web/InspectorEmulationAgent.h [modify] https://crrev.com/9e1762d63c728455a9a45f3541097f73118db2a7/third_party/WebKit/Source/web/WebViewImpl.cpp [modify] https://crrev.com/9e1762d63c728455a9a45f3541097f73118db2a7/third_party/WebKit/Source/web/WebViewImpl.h
Comment 1 by eseckler@chromium.org
, Jan 20 2017