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

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

Issue 2745313002: Avoid rotation anchor during transitional fullscreen states. (Closed)
Patch Set: Rename and const Created 3 years, 9 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
« no previous file with comments | « third_party/WebKit/Source/web/FullscreenController.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fdfc0b1b0dbb7e4ad7b41a94f1517ee5198219a0..9e457dc98414c13958b42b97bd7d62abee4744df 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -1919,7 +1919,7 @@ void WebViewImpl::resizeWithBrowserControls(const WebSize& newSize,
bool isRotation =
page()->settings().getMainFrameResizesAreOrientationChanges() &&
m_size.width && contentsSize().width() && newSize.width != m_size.width &&
- !m_fullscreenController->isFullscreen();
+ !m_fullscreenController->isFullscreenOrTransitioning();
m_size = newSize;
FloatSize viewportAnchorCoords(viewportAnchorCoordX, viewportAnchorCoordY);
« no previous file with comments | « third_party/WebKit/Source/web/FullscreenController.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698