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

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

Issue 2316983002: Change capitalization FullScreen->Fullscreen where possible in Blink (Closed)
Patch Set: update test expectations Created 4 years, 3 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 ebda5112b4aac7dfd91c56a86dad1a6eba7d627b..a3a86773fd60918bff91ce7492e17f02ed4c7118 100644
--- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
@@ -1210,7 +1210,7 @@ TEST_F(WebViewTest, FullscreenResetScrollAndScaleFullscreenStyles)
// Enter fullscreen.
Element* element = static_cast<Element*>(
webViewImpl->mainFrame()->document().getElementById("fullscreenElement"));
- webViewImpl->enterFullScreenForElement(element);
+ webViewImpl->enterFullscreenForElement(element);
webViewImpl->didEnterFullscreen();
webViewImpl->updateAllLifecyclePhases();
@@ -1247,7 +1247,7 @@ TEST_F(WebViewTest, FullscreenResetScrollAndScaleExitAndReenter)
// Enter fullscreen.
Element* element = static_cast<Element*>(
webViewImpl->mainFrame()->document().getElementById("fullscreenElement"));
- webViewImpl->enterFullScreenForElement(element);
+ webViewImpl->enterFullscreenForElement(element);
webViewImpl->didEnterFullscreen();
webViewImpl->updateAllLifecyclePhases();
@@ -1258,9 +1258,9 @@ TEST_F(WebViewTest, FullscreenResetScrollAndScaleExitAndReenter)
// Exit and, without performing a layout, reenter fullscreen again. We
// shouldn't try to restore the scroll and scale values when we layout to
// enter fullscreen.
- webViewImpl->exitFullScreenForElement(element);
+ webViewImpl->exitFullscreenForElement(element);
webViewImpl->didExitFullscreen();
- webViewImpl->enterFullScreenForElement(element);
+ webViewImpl->enterFullscreenForElement(element);
webViewImpl->didEnterFullscreen();
webViewImpl->updateAllLifecyclePhases();
@@ -1269,7 +1269,7 @@ TEST_F(WebViewTest, FullscreenResetScrollAndScaleExitAndReenter)
ASSERT_EQ(0, webViewImpl->mainFrameImpl()->frameView()->maximumScrollPosition().y());
// When we exit now, we should restore the original scroll value.
- webViewImpl->exitFullScreenForElement(element);
+ webViewImpl->exitFullscreenForElement(element);
webViewImpl->didExitFullscreen();
webViewImpl->updateAllLifecyclePhases();
@@ -1296,7 +1296,7 @@ TEST_F(WebViewTest, EnterFullscreenResetScrollAndScaleState)
EXPECT_EQ(20, webViewImpl->visualViewportOffset().y);
Element* element = static_cast<Element*>(webViewImpl->mainFrame()->document().body());
- webViewImpl->enterFullScreenForElement(element);
+ webViewImpl->enterFullscreenForElement(element);
webViewImpl->didEnterFullscreen();
// Page scale factor must be 1.0 during fullscreen for elements to be sized
@@ -1305,10 +1305,10 @@ TEST_F(WebViewTest, EnterFullscreenResetScrollAndScaleState)
// Make sure fullscreen nesting doesn't disrupt scroll/scale saving.
Element* otherElement = static_cast<Element*>(webViewImpl->mainFrame()->document().head());
- webViewImpl->enterFullScreenForElement(otherElement);
+ webViewImpl->enterFullscreenForElement(otherElement);
// Confirm that exiting fullscreen restores the parameters.
- webViewImpl->exitFullScreenForElement(element);
+ webViewImpl->exitFullscreenForElement(element);
webViewImpl->didExitFullscreen();
webViewImpl->updateAllLifecyclePhases();

Powered by Google App Engine
This is Rietveld 408576698