Windows: Fix hidden dropdowns when the window is topmost (issue #1468)

Also add a --always-on-top flag to cefclient to allow easier testing of this
behavior on Windows and Linux.
This commit is contained in:
Isaac Devine
2018-02-28 17:47:36 +13:00
committed by Marshall Greenblatt
parent 1928572b52
commit c64898f9fc
19 changed files with 85 additions and 9 deletions

View File

@@ -130,6 +130,7 @@ int RunMain(int argc, char* argv[]) {
test_runner::RegisterSchemeHandlers();
RootWindowConfig window_config;
window_config.always_on_top = command_line->HasSwitch(switches::kAlwaysOnTop);
window_config.with_controls =
!command_line->HasSwitch(switches::kHideControls);
window_config.with_osr = settings.windowless_rendering_enabled ? true : false;