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

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: 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 1760 matching lines...) Expand 10 before | Expand all | Expand 10 after
1771 m_layoutSubtreeRootList.remove(const_cast<LayoutObject&>(root)); 1771 m_layoutSubtreeRootList.remove(const_cast<LayoutObject&>(root));
1772 } 1772 }
1773 1773
1774 void FrameView::clearLayoutSubtreeRootsAndMarkContainingBlocks() 1774 void FrameView::clearLayoutSubtreeRootsAndMarkContainingBlocks()
1775 { 1775 {
1776 m_layoutSubtreeRootList.clearAndMarkContainingBlocksForLayout(); 1776 m_layoutSubtreeRootList.clearAndMarkContainingBlocksForLayout();
1777 } 1777 }
1778 1778
1779 void FrameView::addOrthogonalWritingModeRoot(LayoutBox& root) 1779 void FrameView::addOrthogonalWritingModeRoot(LayoutBox& root)
1780 { 1780 {
1781 ASSERT(!root.isLayoutFullScreen() && !root.isLayoutFullScreenPlaceholder() 1781 DCHECK(!root.isLayoutScrollbarPart());
1782 && !root.isLayoutScrollbarPart());
1783 m_orthogonalWritingModeRootList.add(root); 1782 m_orthogonalWritingModeRootList.add(root);
1784 } 1783 }
1785 1784
1786 void FrameView::removeOrthogonalWritingModeRoot(LayoutBox& root) 1785 void FrameView::removeOrthogonalWritingModeRoot(LayoutBox& root)
1787 { 1786 {
1788 m_orthogonalWritingModeRootList.remove(root); 1787 m_orthogonalWritingModeRootList.remove(root);
1789 } 1788 }
1790 1789
1791 bool FrameView::hasOrthogonalWritingModeRoots() const 1790 bool FrameView::hasOrthogonalWritingModeRoots() const
1792 { 1791 {
(...skipping 2436 matching lines...) Expand 10 before | Expand all | Expand 10 after
4229 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot tling); 4228 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot tling);
4230 } 4229 }
4231 4230
4232 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const 4231 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const
4233 { 4232 {
4234 ASSERT(!layoutViewItem().isNull()); 4233 ASSERT(!layoutViewItem().isNull());
4235 return *layoutView(); 4234 return *layoutView();
4236 } 4235 }
4237 4236
4238 } // namespace blink 4237 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698