#include "chrome/browser/ui/views/webid/fedcm_account_selection_view_desktop.h"
#include "base/test/scoped_feature_list.h"
#include "chrome/browser/picture_in_picture/picture_in_picture_occlusion_tracker.h"
#include "chrome/browser/picture_in_picture/picture_in_picture_window_manager.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/tabs/public/tab_features.h"
#include "chrome/browser/ui/test/test_browser_dialog.h"
#include "chrome/browser/ui/views/webid/fake_delegate.h"
#include "chrome/browser/ui/views/webid/fedcm_account_selection_view_controller.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/common/content_features.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/test_renderer_host.h"
#include "content/public/test/web_contents_tester.h"
class FedCmAccountSelectionViewBrowserTest : public DialogBrowserTest { … };
IN_PROC_BROWSER_TEST_F(FedCmAccountSelectionViewBrowserTest, ShowAndVerifyUi) { … }
IN_PROC_BROWSER_TEST_F(FedCmAccountSelectionViewBrowserTest, CloseAllTabs) { … }
IN_PROC_BROWSER_TEST_F(FedCmAccountSelectionViewBrowserTest, NavigateAway) { … }
IN_PROC_BROWSER_TEST_F(FedCmAccountSelectionViewBrowserTest, ReShow) { … }
IN_PROC_BROWSER_TEST_F(FedCmAccountSelectionViewBrowserTest, ShowWhileHidden) { … }
IN_PROC_BROWSER_TEST_F(FedCmAccountSelectionViewBrowserTest,
ShowWhileCannotFitInWebContents) { … }
IN_PROC_BROWSER_TEST_F(FedCmAccountSelectionViewBrowserTest,
ModalDialogThenShowThenCloseModalDialog) { … }
IN_PROC_BROWSER_TEST_F(FedCmAccountSelectionViewBrowserTest, DetachAndDelete) { … }
IN_PROC_BROWSER_TEST_F(FedCmAccountSelectionViewBrowserTest,
DetachForInsertion) { … }
IN_PROC_BROWSER_TEST_F(FedCmAccountSelectionViewBrowserTest, ClosedBrowser) { … }
IN_PROC_BROWSER_TEST_F(FedCmAccountSelectionViewBrowserTest, AddTabHidesUI) { … }
IN_PROC_BROWSER_TEST_F(FedCmAccountSelectionViewBrowserTest,
DetachTabForInsertion) { … }
IN_PROC_BROWSER_TEST_F(FedCmAccountSelectionViewBrowserTest,
DisabledWhenOccluded) { … }