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

Unified Diff: third_party/WebKit/Source/web/FullscreenController.h

Issue 2745313002: Avoid rotation anchor during transitional fullscreen states. (Closed)
Patch Set: 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 | « no previous file | 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/FullscreenController.h
diff --git a/third_party/WebKit/Source/web/FullscreenController.h b/third_party/WebKit/Source/web/FullscreenController.h
index 4ffbd6d406d4289e23579dd682ef6928a26af2d0..e8e9f4ad2a9a01397fb6a65f5bb7292b07c6ea46 100644
--- a/third_party/WebKit/Source/web/FullscreenController.h
+++ b/third_party/WebKit/Source/web/FullscreenController.h
@@ -60,7 +60,7 @@ class FullscreenController {
// element has changed.
void fullscreenElementChanged(Element*, Element*);
- bool isFullscreen() { return m_state == State::Fullscreen; }
+ bool isFullscreen() { return m_state != State::Initial; }
mlamouri (slow - plz ping) 2017/03/13 21:00:56 nit: should it be renamed "isFullscreenOrTransitio
void updateSize();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698