ui: replace SettingsWindowObserver for OS Settings tests
SettingsWindowObserver is used to check if the number of OS Settings browser instances are correct. This can be performed in other ways without relying on SettingsWindowManager. SettingsWindowManager predates the SWA platform, which implements many features wanted by OS Settings, but were otherwise unavailable. After SWA platform launch, we have implemented these features in SWA platform, so it's no longer necessary for OS Settings to duplicate these logics. This is a preparation for implementing a new LaunchSystemWebApp API, which no longer returns the Browser object running the launched App. Bug: 1154540 Change-Id: I2c3322d30fbf2c288e03aa3cc139f9f3bbf74920 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2569191 Commit-Queue: Jiewei Qian <qjw@chromium.org> Reviewed-by:James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#833071}
Showing
Please register or sign in to comment