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

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

Issue 2107233002: Reland "Implement FullScreen using top layer." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix ::backdrop for replaced content 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 1775 matching lines...) Expand 10 before | Expand all | Expand 10 after
1786 m_layoutSubtreeRootList.remove(const_cast<LayoutObject&>(root)); 1786 m_layoutSubtreeRootList.remove(const_cast<LayoutObject&>(root));
1787 } 1787 }
1788 1788
1789 void FrameView::clearLayoutSubtreeRootsAndMarkContainingBlocks() 1789 void FrameView::clearLayoutSubtreeRootsAndMarkContainingBlocks()
1790 { 1790 {
1791 m_layoutSubtreeRootList.clearAndMarkContainingBlocksForLayout(); 1791 m_layoutSubtreeRootList.clearAndMarkContainingBlocksForLayout();
1792 } 1792 }
1793 1793
1794 void FrameView::addOrthogonalWritingModeRoot(LayoutBox& root) 1794 void FrameView::addOrthogonalWritingModeRoot(LayoutBox& root)
1795 { 1795 {
1796 ASSERT(!root.isLayoutFullScreen() && !root.isLayoutFullScreenPlaceholder() 1796 DCHECK(!root.isLayoutScrollbarPart());
1797 && !root.isLayoutScrollbarPart());
1798 m_orthogonalWritingModeRootList.add(root); 1797 m_orthogonalWritingModeRootList.add(root);
1799 } 1798 }
1800 1799
1801 void FrameView::removeOrthogonalWritingModeRoot(LayoutBox& root) 1800 void FrameView::removeOrthogonalWritingModeRoot(LayoutBox& root)
1802 { 1801 {
1803 m_orthogonalWritingModeRootList.remove(root); 1802 m_orthogonalWritingModeRootList.remove(root);
1804 } 1803 }
1805 1804
1806 bool FrameView::hasOrthogonalWritingModeRoots() const 1805 bool FrameView::hasOrthogonalWritingModeRoots() const
1807 { 1806 {
(...skipping 2439 matching lines...) Expand 10 before | Expand all | Expand 10 after
4247 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot tling); 4246 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot tling);
4248 } 4247 }
4249 4248
4250 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const 4249 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const
4251 { 4250 {
4252 ASSERT(!layoutViewItem().isNull()); 4251 ASSERT(!layoutViewItem().isNull());
4253 return *layoutView(); 4252 return *layoutView();
4254 } 4253 }
4255 4254
4256 } // namespace blink 4255 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698