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

Unified Diff: third_party/WebKit/Source/core/frame/RootFrameViewportTest.cpp

Issue 2393313002: reflow comments in core/frame (Closed)
Patch Set: tweak Created 4 years, 2 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/core/frame/RootFrameViewportTest.cpp
diff --git a/third_party/WebKit/Source/core/frame/RootFrameViewportTest.cpp b/third_party/WebKit/Source/core/frame/RootFrameViewportTest.cpp
index b0502a1293932dd0275fe9d3f3fd0a3d17a4f587..720320adeecfe151371dfb9186637d525041dfc2 100644
--- a/third_party/WebKit/Source/core/frame/RootFrameViewportTest.cpp
+++ b/third_party/WebKit/Source/core/frame/RootFrameViewportTest.cpp
@@ -250,8 +250,8 @@ TEST_F(RootFrameViewportTest, UserInputScrollable) {
}
// Make sure scrolls using the scroll animator (scroll(), setScrollPosition())
-// work correctly when one of the subviewports is explicitly scrolled without using the
-// RootFrameViewport interface.
+// work correctly when one of the subviewports is explicitly scrolled without
+// using the RootFrameViewport interface.
TEST_F(RootFrameViewportTest, TestScrollAnimatorUpdatedBeforeScroll) {
IntSize viewportSize(100, 150);
RootFrameViewStub* layoutViewport =
@@ -268,8 +268,8 @@ TEST_F(RootFrameViewportTest, TestScrollAnimatorUpdatedBeforeScroll) {
EXPECT_POINT_EQ(DoublePoint(50, 75),
rootFrameViewport->scrollPositionDouble());
- // If the scroll animator doesn't update, it will still think it's at (0, 0) and so it
- // may early exit.
+ // If the scroll animator doesn't update, it will still think it's at (0, 0)
+ // and so it may early exit.
rootFrameViewport->setScrollPosition(DoublePoint(0, 0), ProgrammaticScroll);
EXPECT_POINT_EQ(DoublePoint(0, 0), rootFrameViewport->scrollPositionDouble());
EXPECT_POINT_EQ(DoublePoint(0, 0), visualViewport->scrollPositionDouble());
@@ -393,8 +393,8 @@ TEST_F(RootFrameViewportTest, SetScrollPosition) {
visualViewport->scrollPositionDouble());
EXPECT_POINT_EQ(DoublePoint(0, 0), layoutViewport->scrollPositionDouble());
- // Scroll to the visual viewport's extent, the layout viewport should scroll the
- // remainder.
+ // Scroll to the visual viewport's extent, the layout viewport should scroll
+ // the remainder.
rootFrameViewport->setScrollPosition(DoublePoint(300, 400),
ProgrammaticScroll);
EXPECT_POINT_EQ(DoublePoint(250, 250),
« no previous file with comments | « third_party/WebKit/Source/core/frame/RootFrameViewport.cpp ('k') | third_party/WebKit/Source/core/frame/Settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698