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

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2168373002: Revert of Reland "Implement FullScreen using top layer." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolve WebFrameTest.cpp conflict and appease presubmit Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999 Lars Knoll <knoll@kde.org> 3 * 1999 Lars Knoll <knoll@kde.org>
4 * 1999 Antti Koivisto <koivisto@kde.org> 4 * 1999 Antti Koivisto <koivisto@kde.org>
5 * 2000 Dirk Mueller <mueller@kde.org> 5 * 2000 Dirk Mueller <mueller@kde.org>
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
9 * Copyright (C) 2009 Google Inc. All rights reserved. 9 * Copyright (C) 2009 Google Inc. All rights reserved.
10 * 10 *
(...skipping 1780 matching lines...) Expand 10 before | Expand all | Expand 10 after
1791 m_layoutSubtreeRootList.remove(const_cast<LayoutObject&>(root)); 1791 m_layoutSubtreeRootList.remove(const_cast<LayoutObject&>(root));
1792 } 1792 }
1793 1793
1794 void FrameView::clearLayoutSubtreeRootsAndMarkContainingBlocks() 1794 void FrameView::clearLayoutSubtreeRootsAndMarkContainingBlocks()
1795 { 1795 {
1796 m_layoutSubtreeRootList.clearAndMarkContainingBlocksForLayout(); 1796 m_layoutSubtreeRootList.clearAndMarkContainingBlocksForLayout();
1797 } 1797 }
1798 1798
1799 void FrameView::addOrthogonalWritingModeRoot(LayoutBox& root) 1799 void FrameView::addOrthogonalWritingModeRoot(LayoutBox& root)
1800 { 1800 {
1801 DCHECK(!root.isLayoutScrollbarPart()); 1801 DCHECK(!root.isLayoutFullScreen() && !root.isLayoutFullScreenPlaceholder()
1802 && !root.isLayoutScrollbarPart());
1802 m_orthogonalWritingModeRootList.add(root); 1803 m_orthogonalWritingModeRootList.add(root);
1803 } 1804 }
1804 1805
1805 void FrameView::removeOrthogonalWritingModeRoot(LayoutBox& root) 1806 void FrameView::removeOrthogonalWritingModeRoot(LayoutBox& root)
1806 { 1807 {
1807 m_orthogonalWritingModeRootList.remove(root); 1808 m_orthogonalWritingModeRootList.remove(root);
1808 } 1809 }
1809 1810
1810 bool FrameView::hasOrthogonalWritingModeRoots() const 1811 bool FrameView::hasOrthogonalWritingModeRoots() const
1811 { 1812 {
(...skipping 2474 matching lines...) Expand 10 before | Expand all | Expand 10 after
4286 } 4287 }
4287 4288
4288 bool FrameView::canThrottleRendering() const 4289 bool FrameView::canThrottleRendering() const
4289 { 4290 {
4290 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled()) 4291 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled())
4291 return false; 4292 return false;
4292 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot tling); 4293 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot tling);
4293 } 4294 }
4294 4295
4295 } // namespace blink 4296 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/PseudoElement.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698