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

Unified Diff: Source/core/layout/LayoutObject.h

Issue 1139033006: Implement FullScreen using top layer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master Created 5 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
« no previous file with comments | « Source/core/layout/LayoutMenuList.cpp ('k') | Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutObject.h
diff --git a/Source/core/layout/LayoutObject.h b/Source/core/layout/LayoutObject.h
index bf1a812f99b0cb266fc2a9dbb93595dd70ae508e..e05abd2b62aec08c49029bf9106f9f417dbb8c50 100644
--- a/Source/core/layout/LayoutObject.h
+++ b/Source/core/layout/LayoutObject.h
@@ -389,8 +389,6 @@ public:
bool isProgress() const { return isOfType(LayoutObjectProgress); }
bool isQuote() const { return isOfType(LayoutObjectQuote); }
bool isLayoutButton() const { return isOfType(LayoutObjectLayoutButton); }
- bool isLayoutFullScreen() const { return isOfType(LayoutObjectLayoutFullScreen); }
- bool isLayoutFullScreenPlaceholder() const { return isOfType(LayoutObjectLayoutFullScreenPlaceholder); }
bool isLayoutGrid() const { return isOfType(LayoutObjectLayoutGrid); }
bool isLayoutIFrame() const { return isOfType(LayoutObjectLayoutIFrame); }
bool isLayoutImage() const { return isOfType(LayoutObjectLayoutImage); }
@@ -537,9 +535,7 @@ public:
// LayoutBlock::createAnonymousBlock(). This includes creating an anonymous
// LayoutBlock having a BLOCK or BOX display. Other classes such as LayoutTextFragment
// are not LayoutBlocks and will return false. See https://bugs.webkit.org/show_bug.cgi?id=56709.
- return isAnonymous() && (style()->display() == BLOCK || style()->display() == BOX) && style()->styleType() == NOPSEUDO && isLayoutBlock() && !isListMarker() && !isLayoutFlowThread() && !isLayoutMultiColumnSet()
- && !isLayoutFullScreen()
- && !isLayoutFullScreenPlaceholder();
+ return isAnonymous() && (style()->display() == BLOCK || style()->display() == BOX) && style()->styleType() == NOPSEUDO && isLayoutBlock() && !isListMarker() && !isLayoutFlowThread() && !isLayoutMultiColumnSet();
}
bool isElementContinuation() const { return node() && node()->layoutObject() != this; }
bool isInlineElementContinuation() const { return isElementContinuation() && isInline(); }
@@ -1207,8 +1203,6 @@ protected:
LayoutObjectQuote,
LayoutObjectLayoutButton,
LayoutObjectLayoutFlowThread,
- LayoutObjectLayoutFullScreen,
- LayoutObjectLayoutFullScreenPlaceholder,
LayoutObjectLayoutGrid,
LayoutObjectLayoutIFrame,
LayoutObjectLayoutImage,
« no previous file with comments | « Source/core/layout/LayoutMenuList.cpp ('k') | Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698