#include <string>
#include "base/memory/raw_ptr.h"
#include "build/build_config.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/test/popup_test_base.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "third_party/blink/public/common/features.h"
#include "ui/display/display.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/views/widget/widget.h"
#include "ui/views/widget/widget_observer.h"
namespace {
PopupTest;
class WidgetBoundsEqualWaiter final : public views::WidgetObserver { … };
IN_PROC_BROWSER_TEST_F(PopupTest, OpenLeftAndTopZeroCoordinates) { … }
IN_PROC_BROWSER_TEST_F(PopupTest, OpenClampedToCurrentDisplay) { … }
IN_PROC_BROWSER_TEST_F(PopupTest, MoveClampedToCurrentDisplay) { … }
IN_PROC_BROWSER_TEST_F(PopupTest, ResizeClampedToCurrentDisplay) { … }
IN_PROC_BROWSER_TEST_F(PopupTest, NoopenerPositioning) { … }
class PopupTest_AdditionalWindowingControls : public PopupTest { … };
IN_PROC_BROWSER_TEST_F(PopupTest_AdditionalWindowingControls,
MoveCallFiresMoveEvent) { … }
}