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

Unified Diff: third_party/WebKit/Source/core/dom/Element.h

Issue 2202493002: NOT FOR REVIEW: Fullscreen WIP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 1 month 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/core/dom/Element.h
diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h
index ae22bda3cf54494f3a71e79464e4a1ae51b5a17f..11484794556ee7ce9480aef678194bcdf5f738db 100644
--- a/third_party/WebKit/Source/core/dom/Element.h
+++ b/third_party/WebKit/Source/core/dom/Element.h
@@ -84,8 +84,8 @@ enum ElementFlags {
TabIndexWasSetExplicitly = 1 << 0,
StyleAffectedByEmpty = 1 << 1,
IsInCanvasSubtree = 1 << 2,
- ContainsFullScreenElement = 1 << 3,
- IsInTopLayer = 1 << 4,
+ IsInTopLayer = 1 << 3,
+ IsFullscreen = 1 << 4,
HasPendingResources = 1 << 5,
AlreadySpellChecked = 1 << 6,
@@ -652,15 +652,12 @@ class CORE_EXPORT Element : public ContainerNode {
void setCustomElementDefinition(CustomElementDefinition*);
CustomElementDefinition* customElementDefinition() const;
- bool containsFullScreenElement() const {
- return hasElementFlag(ContainsFullScreenElement);
- }
- void setContainsFullScreenElement(bool);
- void setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(bool);
-
bool isInTopLayer() const { return hasElementFlag(IsInTopLayer); }
void setIsInTopLayer(bool);
+ bool isFullscreen() const { return hasElementFlag(IsFullscreen); }
+ void setIsFullscreen(bool);
+
void requestPointerLock();
bool isSpellCheckingEnabled() const;
« no previous file with comments | « third_party/WebKit/Source/core/dom/DocumentOrShadowRoot.h ('k') | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698