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

Side by Side Diff: Source/WebCore/rendering/RenderView.h

Issue 13679002: Add StyleChangeState to get rid of a bunch of static state in the render tree. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2006 Apple Computer, Inc. 3 * Copyright (C) 2006 Apple Computer, Inc.
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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 200
201 IntRect documentRect() const; 201 IntRect documentRect() const;
202 202
203 // Renderer that paints the root background has background-images which all have background-attachment: fixed. 203 // Renderer that paints the root background has background-images which all have background-attachment: fixed.
204 bool rootBackgroundIsEntirelyFixed() const; 204 bool rootBackgroundIsEntirelyFixed() const;
205 205
206 bool hasRenderNamedFlowThreads() const; 206 bool hasRenderNamedFlowThreads() const;
207 bool checkTwoPassLayoutForAutoHeightRegions() const; 207 bool checkTwoPassLayoutForAutoHeightRegions() const;
208 FlowThreadController* flowThreadController(); 208 FlowThreadController* flowThreadController();
209 209
210 void styleDidChange(StyleDifference, const RenderStyle* oldStyle); 210 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle, co nst StyleChangeState&) OVERRIDE;
211 211
212 IntervalArena* intervalArena(); 212 IntervalArena* intervalArena();
213 213
214 IntSize viewportSize() const { return document()->viewportSize(); } 214 IntSize viewportSize() const { return document()->viewportSize(); }
215 215
216 void setRenderQuoteHead(RenderQuote* head) { m_renderQuoteHead = head; } 216 void setRenderQuoteHead(RenderQuote* head) { m_renderQuoteHead = head; }
217 RenderQuote* renderQuoteHead() const { return m_renderQuoteHead; } 217 RenderQuote* renderQuoteHead() const { return m_renderQuoteHead; }
218 218
219 // FIXME: This is a work around because the current implementation of counte rs 219 // FIXME: This is a work around because the current implementation of counte rs
220 // requires walking the entire tree repeatedly and most pages don't actually use either 220 // requires walking the entire tree repeatedly and most pages don't actually use either
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 RenderObject::FlowThreadState m_flowThreadState; 450 RenderObject::FlowThreadState m_flowThreadState;
451 bool m_fragmenting; 451 bool m_fragmenting;
452 #ifndef NDEBUG 452 #ifndef NDEBUG
453 LayoutState* m_layoutState; 453 LayoutState* m_layoutState;
454 #endif 454 #endif
455 }; 455 };
456 456
457 } // namespace WebCore 457 } // namespace WebCore
458 458
459 #endif // RenderView_h 459 #endif // RenderView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698