Description[WIP] Pass the single_process parameter to Ozone's initialization functions
Calls to the InitializeForUI and InitializeForGPU functions of Ozone
are updated to pass the single_process parameter. It is always false
for Mus and otherwise parsed from the command line.
The call to InitializeForGPU is done in the initialization of the GPU
thread, as suggested in https://codereview.chromium.org/2270463002.
This is also more convenient to determine the init parameters.
Similarly, the determination of whether Mus is used and of the value
of single_process is moved from ui/aura to content/browser, where
this task becomes easier. This information is transmitted to
aura::Env::CreateInstance via new boolean value parameters.
ui:OzonePlatform::InitializeFor* and aura::Env::CreateInstance calls
from unit tests are not updated in this CL and still use default
values. The connector parameters of ui:OzonePlatform::InitializeFor*
functions is still not set either.
BUG=620934, 620927
Patch Set 1 #
Total comments: 7
Messages
Total messages: 12 (3 generated)
|