#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/input/web_coalesced_input_event.h"
#include "third_party/blink/public/web/web_document.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/dom/node.h"
#include "third_party/blink/renderer/core/frame/frame_test_helpers.h"
#include "third_party/blink/renderer/core/frame/web_local_frame_impl.h"
#include "third_party/blink/renderer/core/html/html_element.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
#include "third_party/blink/renderer/platform/testing/url_loader_mock_factory.h"
#include "third_party/blink/renderer/platform/testing/url_test_helpers.h"
#include "ui/base/ime/mojom/text_input_state.mojom-blink.h"
LoadFrame;
RunPendingTasks;
RegisterMockedURLLoadFromBase;
namespace blink {
class ImeOnFocusTest : public testing::Test { … };
void ImeOnFocusTest::SendGestureTap(WebViewImpl* web_view,
gfx::Point client_point) { … }
void ImeOnFocusTest::Focus(const AtomicString& element) { … }
void ImeOnFocusTest::RunImeOnFocusTest(
String file_name,
size_t expected_virtual_keyboard_request_count,
gfx::Point tap_point,
const AtomicString& focus_element,
String frame) { … }
TEST_F(ImeOnFocusTest, OnLoad) { … }
TEST_F(ImeOnFocusTest, OnAutofocus) { … }
TEST_F(ImeOnFocusTest, OnUserGesture) { … }
TEST_F(ImeOnFocusTest, AfterFirstGesture) { … }
TEST_F(ImeOnFocusTest, AfterNavigationWithinPage) { … }
TEST_F(ImeOnFocusTest, AfterFrameLoadOnGesture) { … }
}