Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(676)

Unified Diff: third_party/WebKit/Source/web/tests/RootScrollerTest.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp b/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
index 459e94cb72b8170d0310c29074478d0a977d9581..cf86434da7dc98c37cb6f1f9c158352f93435025 100644
--- a/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
+++ b/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
@@ -265,8 +265,9 @@ TEST_F(RootScrollerTest, TestSetRootScroller) {
{
// Scroll 50 pixels past the end. Ensure we report the 50 pixels as
// overscroll.
- EXPECT_CALL(client, didOverscroll(WebFloatSize(0, 50), WebFloatSize(0, 50),
- WebFloatPoint(100, 100), WebFloatSize()));
+ EXPECT_CALL(client,
+ didOverscroll(WebFloatSize(0, 50), WebFloatSize(0, 50),
+ WebFloatPoint(100, 100), WebFloatSize()));
webViewImpl()->handleInputEvent(
generateTouchGestureEvent(WebInputEvent::GestureScrollUpdate, 0, -500));
EXPECT_FLOAT_EQ(maximumScroll, container->scrollTop());
@@ -276,8 +277,9 @@ TEST_F(RootScrollerTest, TestSetRootScroller) {
{
// Continue the gesture overscroll.
- EXPECT_CALL(client, didOverscroll(WebFloatSize(0, 20), WebFloatSize(0, 70),
- WebFloatPoint(100, 100), WebFloatSize()));
+ EXPECT_CALL(client,
+ didOverscroll(WebFloatSize(0, 20), WebFloatSize(0, 70),
+ WebFloatPoint(100, 100), WebFloatSize()));
webViewImpl()->handleInputEvent(
generateTouchGestureEvent(WebInputEvent::GestureScrollUpdate, 0, -20));
EXPECT_FLOAT_EQ(maximumScroll, container->scrollTop());
@@ -294,8 +296,9 @@ TEST_F(RootScrollerTest, TestSetRootScroller) {
webViewImpl()->handleInputEvent(
generateTouchGestureEvent(WebInputEvent::GestureScrollBegin));
- EXPECT_CALL(client, didOverscroll(WebFloatSize(0, 30), WebFloatSize(0, 30),
- WebFloatPoint(100, 100), WebFloatSize()));
+ EXPECT_CALL(client,
+ didOverscroll(WebFloatSize(0, 30), WebFloatSize(0, 30),
+ WebFloatPoint(100, 100), WebFloatSize()));
webViewImpl()->handleInputEvent(
generateTouchGestureEvent(WebInputEvent::GestureScrollUpdate, 0, -30));
EXPECT_FLOAT_EQ(maximumScroll, container->scrollTop());

Powered by Google App Engine
This is Rietveld 408576698