#include "third_party/blink/renderer/core/page/chrome_client_impl.h"
#include <string>
#include <vector>
#include "base/run_loop.h"
#include "base/test/scoped_feature_list.h"
#include "cc/trees/layer_tree_host.h"
#include "components/autofill/core/common/autofill_features.h"
#include "services/network/public/mojom/web_sandbox_flags.mojom-blink.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/input/web_input_event.h"
#include "third_party/blink/public/common/permissions_policy/permissions_policy.h"
#include "third_party/blink/public/mojom/choosers/color_chooser.mojom-blink.h"
#include "third_party/blink/public/web/web_autofill_state.h"
#include "third_party/blink/public/web/web_local_frame.h"
#include "third_party/blink/public/web/web_local_frame_client.h"
#include "third_party/blink/public/web/web_testing_support.h"
#include "third_party/blink/public/web/web_view.h"
#include "third_party/blink/public/web/web_view_client.h"
#include "third_party/blink/renderer/core/exported/web_view_impl.h"
#include "third_party/blink/renderer/core/frame/frame_test_helpers.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/web_local_frame_impl.h"
#include "third_party/blink/renderer/core/html/forms/color_chooser.h"
#include "third_party/blink/renderer/core/html/forms/color_chooser_client.h"
#include "third_party/blink/renderer/core/html/forms/date_time_chooser.h"
#include "third_party/blink/renderer/core/html/forms/date_time_chooser_client.h"
#include "third_party/blink/renderer/core/html/forms/file_chooser.h"
#include "third_party/blink/renderer/core/html/forms/html_form_element.h"
#include "third_party/blink/renderer/core/html/forms/html_input_element.h"
#include "third_party/blink/renderer/core/html/forms/html_select_element.h"
#include "third_party/blink/renderer/core/html/forms/html_select_list_element.h"
#include "third_party/blink/renderer/core/html/forms/html_text_area_element.h"
#include "third_party/blink/renderer/core/html/forms/mock_file_chooser.h"
#include "third_party/blink/renderer/core/html/forms/text_control_element.h"
#include "third_party/blink/renderer/core/input_type_names.h"
#include "third_party/blink/renderer/core/loader/empty_clients.h"
#include "third_party/blink/renderer/core/loader/frame_load_request.h"
#include "third_party/blink/renderer/core/page/page.h"
#include "third_party/blink/renderer/core/page/scoped_page_pauser.h"
#include "third_party/blink/renderer/core/script/classic_script.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"
#include "third_party/blink/renderer/platform/language.h"
#include "third_party/blink/renderer/platform/runtime_enabled_features.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#undef CreateWindow
ElementsAre;
Eq;
Not;
namespace blink {
namespace {
class FakeChromeClientForAutofill : public EmptyChromeClient { … };
}
class ViewCreatingClient : public frame_test_helpers::TestWebFrameClient { … };
class CreateWindowTest : public testing::Test { … };
TEST_F(CreateWindowTest, CreateWindowFromPausedPage) { … }
class NewWindowUrlCapturingChromeClient : public EmptyChromeClient { … };
class FormSubmissionTest : public PageTestBase { … };
TEST_F(FormSubmissionTest, FormGetSubmissionNewFrameUrlTest) { … }
class FakeColorChooserClient : public GarbageCollected<FakeColorChooserClient>,
public ColorChooserClient { … };
class FakeDateTimeChooserClient
: public GarbageCollected<FakeDateTimeChooserClient>,
public DateTimeChooserClient { … };
class PagePopupSuppressionTest : public testing::Test { … };
class MockFileChooserClient : public GarbageCollected<MockFileChooserClient>,
public FileChooserClient { … };
class FileChooserQueueTest : public testing::Test { … };
TEST_F(FileChooserQueueTest, DerefQueuedChooser) { … }
class AutofillChromeClientTest : public PageTestBase { … };
TEST_F(AutofillChromeClientTest, NotificationsOfJavaScriptChangesAfterFill) { … }
TEST_F(AutofillChromeClientTest, NotificationsOfJavaScriptChangesDuringFill) { … }
}