#include "base/run_loop.h"
#include "base/test/bind.h"
#include "chrome/browser/ui/exclusive_access/exclusive_access_test.h"
#include "chrome/browser/ui/views/exclusive_access_bubble_views.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/test/base/interactive_test_utils.h"
#include "content/public/test/browser_test.h"
#include "ui/base/test/ui_controls.h"
#include "ui/views/widget/widget.h"
#include "ui/views/widget/widget_observer.h"
class ExclusiveAccessBubbleViewsTest : public ExclusiveAccessTest,
public views::WidgetObserver { … };
IN_PROC_BROWSER_TEST_F(ExclusiveAccessBubbleViewsTest, NativeClose) { … }
IN_PROC_BROWSER_TEST_F(ExclusiveAccessBubbleViewsTest, CreateForDownload) { … }
#if BUILDFLAG(IS_MAC)
#define MAYBE_ReshowOnMove …
#else
#define MAYBE_ReshowOnMove …
#endif
IN_PROC_BROWSER_TEST_F(ExclusiveAccessBubbleViewsTest, MAYBE_ReshowOnMove) { … }
#if BUILDFLAG(IS_MAC)
#define MAYBE_ReshowOnClick …
#else
#define MAYBE_ReshowOnClick …
#endif
IN_PROC_BROWSER_TEST_F(ExclusiveAccessBubbleViewsTest, MAYBE_ReshowOnClick) { … }