#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/node_computed_style.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/input/event_handler.h"
#include "third_party/blink/renderer/core/input/scroll_manager.h"
#include "third_party/blink/renderer/core/style/computed_style.h"
#include "third_party/blink/renderer/core/testing/sim/sim_compositor.h"
#include "third_party/blink/renderer/core/testing/sim/sim_request.h"
#include "third_party/blink/renderer/core/testing/sim/sim_test.h"
namespace blink {
class OverscrollBehaviorTest : public SimTest { … };
void OverscrollBehaviorTest::SetUp() { … }
void OverscrollBehaviorTest::SetInnerOverscrollBehavior(String x, String y) { … }
void OverscrollBehaviorTest::ScrollBegin(double hint_x, double hint_y) { … }
void OverscrollBehaviorTest::ScrollUpdate(double delta_x, double delta_y) { … }
void OverscrollBehaviorTest::ScrollEnd() { … }
void OverscrollBehaviorTest::Scroll(double x, double y) { … }
TEST_F(OverscrollBehaviorTest, AutoAllowsPropagation) { … }
TEST_F(OverscrollBehaviorTest, ContainOnXPreventsPropagationsOnX) { … }
TEST_F(OverscrollBehaviorTest, ContainOnXAllowsPropagationsOnY) { … }
TEST_F(OverscrollBehaviorTest, ContainOnXPreventsDiagonalPropagations) { … }
TEST_F(OverscrollBehaviorTest, ContainOnYPreventsPropagationsOnY) { … }
TEST_F(OverscrollBehaviorTest, ContainOnYAllowsPropagationsOnX) { … }
TEST_F(OverscrollBehaviorTest, ContainOnYPreventsDiagonalPropagations) { … }
TEST_F(OverscrollBehaviorTest, LatchToTheElementPreventedByOverscrollBehavior) { … }
}