Files SWA: Change Background page fakes to comply with the interface
This is a follow up to the changes in the interfaces: CL:2613848. Remove launcher from BackgroundWindow and add launchFileManager() to FileBrowserBackgroundFUll. Move registerDialog() from BackgroundWindow to FileBrowserBackgroundFUll. Removed the class FileBrowserBackground and merged its content in FileBrowserBackgroundFull. This distinction it's only relevant for other apps (Gallery, Audio and Video Players). For Files app only the "full" version is relevant. NOTE: This file isn't checked by Closure compiler, so there is no automatic check if these implementations adhere to the interface. Test: Checked manually that loading the SWA doesn't produce any JS error in the console. Bug: 1113981 Change-Id: Ie0b792e7c88db908c2939723df14c7b713eddfe5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2617407 Commit-Queue: Luciano Pacheco <lucmult@chromium.org> Auto-Submit: Luciano Pacheco <lucmult@chromium.org> Reviewed-by:Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#843272}
Showing
Please register or sign in to comment