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

Side by Side Diff: Source/core/layout/LayoutView.cpp

Issue 1209133002: Traverse into child LayoutViews during invalidateTreeIfNeeded (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 , m_selectionEndPos(-1) 58 , m_selectionEndPos(-1)
59 , m_pageLogicalHeight(0) 59 , m_pageLogicalHeight(0)
60 , m_pageLogicalHeightChanged(false) 60 , m_pageLogicalHeightChanged(false)
61 , m_layoutState(nullptr) 61 , m_layoutState(nullptr)
62 , m_layoutQuoteHead(nullptr) 62 , m_layoutQuoteHead(nullptr)
63 , m_layoutCounterCount(0) 63 , m_layoutCounterCount(0)
64 , m_hitTestCount(0) 64 , m_hitTestCount(0)
65 , m_hitTestCacheHits(0) 65 , m_hitTestCacheHits(0)
66 , m_hitTestCache(HitTestCache::create()) 66 , m_hitTestCache(HitTestCache::create())
67 , m_pendingSelection(PendingSelection::create()) 67 , m_pendingSelection(PendingSelection::create())
68 , m_forceCheckForPaintInvalidationByParent(false)
69 , m_paintInvalidationCachedOffsetsEnabledByParent(true)
68 { 70 {
69 // init LayoutObject attributes 71 // init LayoutObject attributes
70 setInline(false); 72 setInline(false);
71 73
72 m_minPreferredLogicalWidth = 0; 74 m_minPreferredLogicalWidth = 0;
73 m_maxPreferredLogicalWidth = 0; 75 m_maxPreferredLogicalWidth = 0;
74 76
75 setPreferredLogicalWidthsDirty(MarkOnlyThis); 77 setPreferredLogicalWidthsDirty(MarkOnlyThis);
76 78
77 setPositionState(AbsolutePosition); // to 0,0 :) 79 setPositionState(AbsolutePosition); // to 0,0 :)
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after
972 return viewHeight(IncludeScrollbars) / scale; 974 return viewHeight(IncludeScrollbars) / scale;
973 } 975 }
974 976
975 void LayoutView::willBeDestroyed() 977 void LayoutView::willBeDestroyed()
976 { 978 {
977 LayoutBlockFlow::willBeDestroyed(); 979 LayoutBlockFlow::willBeDestroyed();
978 m_compositor.clear(); 980 m_compositor.clear();
979 } 981 }
980 982
981 } // namespace blink 983 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698