#include "base/functional/callback_helpers.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/input/web_coalesced_input_event.h"
#include "third_party/blink/public/common/input/web_touch_event.h"
#include "third_party/blink/public/web/web_document.h"
#include "third_party/blink/public/web/web_frame.h"
#include "third_party/blink/public/web/web_hit_test_result.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/dom/document.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/dom/shadow_root.h"
#include "third_party/blink/renderer/core/dom/static_node_list.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_frame.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/core/frame/web_local_frame_impl.h"
#include "third_party/blink/renderer/core/geometry/dom_rect.h"
#include "third_party/blink/renderer/core/geometry/dom_rect_list.h"
#include "third_party/blink/renderer/core/html/html_iframe_element.h"
#include "third_party/blink/renderer/core/input/event_handler.h"
#include "third_party/blink/renderer/core/layout/hit_test_result.h"
#include "third_party/blink/renderer/core/layout/layout_tree_as_text.h"
#include "third_party/blink/renderer/core/layout/layout_view.h"
#include "third_party/blink/renderer/core/paint/paint_layer.h"
#include "third_party/blink/renderer/core/paint/paint_layer_scrollable_area.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"
RunPendingTasks;
namespace blink {
class TouchActionWidgetInputHandlerHost
: public frame_test_helpers::TestWidgetInputHandlerHost { … };
class TouchActionTrackingWebFrameWidget
: public frame_test_helpers::TestWebFrameWidget { … };
class TouchActionTest : public testing::Test { … };
void TouchActionTest::RunTouchActionTest(String file) { … }
void TouchActionTest::RunShadowDOMTest(String file) { … }
void TouchActionTest::RunIFrameTest(String file) { … }
WebViewImpl* TouchActionTest::SetupTest(String file) { … }
gfx::Rect WindowClipRect(const LocalFrameView& frame_view) { … }
void TouchActionTest::RunTestOnTree(ContainerNode* root, WebView* web_view) { … }
void TouchActionTest::SendTouchEvent(WebView* web_view,
WebInputEvent::Type type,
gfx::Point client_point) { … }
TEST_F(TouchActionTest, Simple) { … }
TEST_F(TouchActionTest, Overflow) { … }
TEST_F(TouchActionTest, IFrame) { … }
TEST_F(TouchActionTest, ShadowDOM) { … }
TEST_F(TouchActionTest, Pan) { … }
}