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

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

Issue 2700123003: DO NOT COMMIT: Results of running old (current) 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/VisualViewportTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
index a308e7b3e135af03b88d913efd339e85a988b9b9..4b2a54419b35cd3f75d0ba0ded7ce1b9750a23c7 100644
--- a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
+++ b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
@@ -311,30 +311,30 @@ TEST_P(VisualViewportTest, TestResizeAtFullyScrolledPreservesViewportLocation) {
// Test that the VisualViewport works as expected in case of a scaled
// and scrolled viewport - scroll down.
TEST_P(VisualViewportTest, TestResizeAfterVerticalScroll) {
-/*
- 200 200
- | | | |
- | | | |
- | | 800 | | 800
- |-------------------| | |
- | | | |
- | | | |
- | | | |
- | | --------> | |
- | 300 | | |
- | | | |
- | 400 | | |
- | | |-------------------|
- | | | 75 |
- | 50 | | 50 100|
- o----- | o---- |
- | | | | | 25 |
- | |100 | |-------------------|
- | | | | |
- | | | | |
- -------------------- --------------------
-
- */
+ /*
+ 200 200
+ | | | |
+ | | | |
+ | | 800 | | 800
+ |-------------------| | |
+ | | | |
+ | | | |
+ | | | |
+ | | --------> | |
+ | 300 | | |
+ | | | |
+ | 400 | | |
+ | | |-------------------|
+ | | | 75 |
+ | 50 | | 50 100|
+ o----- | o---- |
+ | | | | | 25 |
+ | |100 | |-------------------|
+ | | | | |
+ | | | | |
+ -------------------- --------------------
+
+ */
initializeWithAndroidSettings();
registerMockedHttpURLLoad("200-by-800-viewport.html");
@@ -374,32 +374,32 @@ TEST_P(VisualViewportTest, TestResizeAfterVerticalScroll) {
// Test that the VisualViewport works as expected in case if a scaled
// and scrolled viewport - scroll right.
TEST_P(VisualViewportTest, TestResizeAfterHorizontalScroll) {
-/*
- 200 200
- ---------------o----- ---------------o-----
- | | | | 25| |
- | | | | -----|
- | 100| | |100 50 |
- | | | | |
- | ---- | |-------------------|
- | | | |
- | | | |
- | | | |
- | | | |
- | | | |
- |400 | ---------> | |
- | | | |
- | | | |
- | | | |
- | | | |
- | | | |
- | | | |
- | | | |
- | | | |
- |-------------------| | |
- | | | |
-
- */
+ /*
+ 200 200
+ ---------------o----- ---------------o-----
+ | | | | 25| |
+ | | | | -----|
+ | 100| | |100 50 |
+ | | | | |
+ | ---- | |-------------------|
+ | | | |
+ | | | |
+ | | | |
+ | | | |
+ | | | |
+ |400 | ---------> | |
+ | | | |
+ | | | |
+ | | | |
+ | | | |
+ | | | |
+ | | | |
+ | | | |
+ | | | |
+ |-------------------| | |
+ | | | |
+
+ */
initializeWithAndroidSettings();
registerMockedHttpURLLoad("200-by-800-viewport.html");
« no previous file with comments | « third_party/WebKit/Source/web/tests/SpinLockTest.cpp ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698