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

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

Issue 1095043003: Convert LayoutObject renderer names. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/DocumentLifecycle.h ('k') | Source/core/layout/LayoutFullScreen.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2587 matching lines...) Expand 10 before | Expand all | Expand 10 after
2598 m_frame->document()->updateRenderTreeIfNeeded(); 2598 m_frame->document()->updateRenderTreeIfNeeded();
2599 2599
2600 if (needsLayout()) 2600 if (needsLayout())
2601 layout(); 2601 layout();
2602 } 2602 }
2603 2603
2604 // These asserts ensure that parent frames are clean, when child frames fini shed updating layout and style. 2604 // These asserts ensure that parent frames are clean, when child frames fini shed updating layout and style.
2605 ASSERT(!needsLayout()); 2605 ASSERT(!needsLayout());
2606 ASSERT(!m_frame->document()->hasSVGFilterElementsRequiringLayerUpdate()); 2606 ASSERT(!m_frame->document()->hasSVGFilterElementsRequiringLayerUpdate());
2607 #if ENABLE(ASSERT) 2607 #if ENABLE(ASSERT)
2608 m_frame->document()->layoutView()->assertRendererLaidOut(); 2608 m_frame->document()->layoutView()->assertLaidOut();
2609 #endif 2609 #endif
2610 2610
2611 updateWidgetPositionsIfNeeded(); 2611 updateWidgetPositionsIfNeeded();
2612 } 2612 }
2613 2613
2614 void FrameView::invalidateTreeIfNeededRecursive() 2614 void FrameView::invalidateTreeIfNeededRecursive()
2615 { 2615 {
2616 // FIXME: We should be more aggressive at cutting tree traversals. 2616 // FIXME: We should be more aggressive at cutting tree traversals.
2617 lifecycle().advanceTo(DocumentLifecycle::InPaintInvalidation); 2617 lifecycle().advanceTo(DocumentLifecycle::InPaintInvalidation);
2618 2618
(...skipping 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after
3986 { 3986 {
3987 Settings* settings = frame().settings(); 3987 Settings* settings = frame().settings();
3988 if (!settings || !settings->rootLayerScrolls()) 3988 if (!settings || !settings->rootLayerScrolls())
3989 return this; 3989 return this;
3990 3990
3991 LayoutView* layoutView = this->layoutView(); 3991 LayoutView* layoutView = this->layoutView();
3992 return layoutView ? layoutView->scrollableArea() : nullptr; 3992 return layoutView ? layoutView->scrollableArea() : nullptr;
3993 } 3993 }
3994 3994
3995 } // namespace blink 3995 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/dom/DocumentLifecycle.h ('k') | Source/core/layout/LayoutFullScreen.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698