#include "build/chromeos_buildflags.h"
#include "chrome/browser/printing/print_preview_dialog_controller.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/interactive_test_utils.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/permissions/permission_request_manager.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "ui/display/screen_base.h"
#include "ui/display/test/test_screen.h"
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "ash/shell.h"
#include "ui/display/test/display_manager_test_api.h"
#endif
class WindowManagementTest : public InProcessBrowserTest { … };
#if BUILDFLAG(IS_WIN)
#define MAYBE_NoCrashOnEventsDuringHandlerPrint …
#else
#define MAYBE_NoCrashOnEventsDuringHandlerPrint …
#endif
IN_PROC_BROWSER_TEST_F(WindowManagementTest,
MAYBE_NoCrashOnEventsDuringHandlerPrint) { … }