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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2550703002: Move pending state from FullscreenController to Fullscreen (Closed)
Patch Set: tests and documentation Created 4 years 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/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index a74494d5ed6c49474d1b20f6bb1a3f3e1764e862..df6b5c3064c39466c296131328663f9907c1df9f 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -2076,11 +2076,11 @@ void WebViewImpl::themeChanged() {
view->invalidateRect(damagedRect);
}
-void WebViewImpl::enterFullscreenForElement(Element* element) {
- m_fullscreenController->enterFullscreenForElement(element);
+void WebViewImpl::enterFullscreen(LocalFrame& frame) {
+ m_fullscreenController->enterFullscreen(frame);
}
-void WebViewImpl::exitFullscreen(LocalFrame* frame) {
+void WebViewImpl::exitFullscreen(LocalFrame& frame) {
m_fullscreenController->exitFullscreen(frame);
}

Powered by Google App Engine
This is Rietveld 408576698