#include <optional>
#include <string>
#include "chrome/browser/controlled_frame/controlled_frame_permission_request_test_base.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
StartsWith;
UnorderedElementsAre;
namespace controlled_frame {
class ControlledFrameNewWindowBrowserTest
: public ControlledFrameTestBase,
public testing::WithParamInterface<bool> { … };
IN_PROC_BROWSER_TEST_F(ControlledFrameNewWindowBrowserTest, AttachSucceeds) { … }
IN_PROC_BROWSER_TEST_F(ControlledFrameNewWindowBrowserTest, DiscardSucceeds) { … }
IN_PROC_BROWSER_TEST_F(ControlledFrameNewWindowBrowserTest,
PostMessageAfterAttachSucceeds) { … }
}