Commit b6bf7cb0 authored by Luciano Pacheco's avatar Luciano Pacheco Committed by Chromium LUCI CQ

Files app: Enable main_modules.html behind the flag

Bug: 1133186
Change-Id: Ieebd11507009669b138584be6a09d31e4ce20a7b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2640316Reviewed-by: default avatarJeremie Boulic <jboulic@chromium.org>
Commit-Queue: Luciano Pacheco <lucmult@chromium.org>
Cr-Commit-Position: refs/heads/master@{#845532}
parent a7486940
......@@ -173,8 +173,11 @@ launcher.launchFileManager = async (opt_appState, opt_id, opt_type) => {
FILE_MANAGER_WINDOW_CREATE_OPTIONS.frame.color = '#ffffff';
}
const appWindow = new AppWindowWrapper(
'main.html', appId, FILE_MANAGER_WINDOW_CREATE_OPTIONS);
const htmlFile =
util.isFilesJsModulesEnabled() ? 'main_modules.html' : 'main.html';
const appWindow =
new AppWindowWrapper(htmlFile, appId, FILE_MANAGER_WINDOW_CREATE_OPTIONS);
await appWindow.launch(opt_appState || {}, false);
if (!appWindow.rawAppWindow) {
return null;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment