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

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: restore !important to overflow:hidden 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 1778 matching lines...) Expand 10 before | Expand all | Expand 10 after
1789 m_layoutSubtreeRootList.remove(const_cast<LayoutObject&>(root)); 1789 m_layoutSubtreeRootList.remove(const_cast<LayoutObject&>(root));
1790 } 1790 }
1791 1791
1792 void FrameView::clearLayoutSubtreeRootsAndMarkContainingBlocks() 1792 void FrameView::clearLayoutSubtreeRootsAndMarkContainingBlocks()
1793 { 1793 {
1794 m_layoutSubtreeRootList.clearAndMarkContainingBlocksForLayout(); 1794 m_layoutSubtreeRootList.clearAndMarkContainingBlocksForLayout();
1795 } 1795 }
1796 1796
1797 void FrameView::addOrthogonalWritingModeRoot(LayoutBox& root) 1797 void FrameView::addOrthogonalWritingModeRoot(LayoutBox& root)
1798 { 1798 {
1799 ASSERT(!root.isLayoutFullScreen() && !root.isLayoutFullScreenPlaceholder() 1799 DCHECK(!root.isLayoutScrollbarPart());
1800 && !root.isLayoutScrollbarPart());
1801 m_orthogonalWritingModeRootList.add(root); 1800 m_orthogonalWritingModeRootList.add(root);
1802 } 1801 }
1803 1802
1804 void FrameView::removeOrthogonalWritingModeRoot(LayoutBox& root) 1803 void FrameView::removeOrthogonalWritingModeRoot(LayoutBox& root)
1805 { 1804 {
1806 m_orthogonalWritingModeRootList.remove(root); 1805 m_orthogonalWritingModeRootList.remove(root);
1807 } 1806 }
1808 1807
1809 bool FrameView::hasOrthogonalWritingModeRoots() const 1808 bool FrameView::hasOrthogonalWritingModeRoots() const
1810 { 1809 {
(...skipping 2428 matching lines...) Expand 10 before | Expand all | Expand 10 after
4239 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot tling); 4238 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot tling);
4240 } 4239 }
4241 4240
4242 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const 4241 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const
4243 { 4242 {
4244 ASSERT(!layoutViewItem().isNull()); 4243 ASSERT(!layoutViewItem().isNull());
4245 return *layoutView(); 4244 return *layoutView();
4246 } 4245 }
4247 4246
4248 } // namespace blink 4247 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698