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

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

Issue 2139303002: Clean up around methods to enter/exit fullscreen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/WebViewTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebViewTest.cpp b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
index fdd36128af7b5140426785d6f33daab145f5a550..d12a4a43e45a8067f133dad9fcafd25775d30736 100644
--- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
@@ -1186,7 +1186,7 @@ TEST_F(WebViewTest, EnterFullscreenResetScrollAndScaleState)
Element* element = static_cast<Element*>(webViewImpl->mainFrame()->document().body());
webViewImpl->enterFullScreenForElement(element);
- webViewImpl->didEnterFullScreen();
+ webViewImpl->didEnterFullscreen();
// Page scale factor must be 1.0 during fullscreen for elements to be sized
// properly.
@@ -1197,7 +1197,7 @@ TEST_F(WebViewTest, EnterFullscreenResetScrollAndScaleState)
webViewImpl->enterFullScreenForElement(otherElement);
// Confirm that exiting fullscreen restores the parameters.
- webViewImpl->didExitFullScreen();
+ webViewImpl->didExitFullscreen();
EXPECT_EQ(2.0f, webViewImpl->pageScaleFactor());
EXPECT_EQ(94, webViewImpl->mainFrame()->scrollOffset().width);
EXPECT_EQ(111, webViewImpl->mainFrame()->scrollOffset().height);
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | third_party/WebKit/public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698