Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
| 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved. |
| 7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 974 setShouldDoFullRepaintAfterLayout(false); | 974 setShouldDoFullRepaintAfterLayout(false); |
| 975 setShouldRepaintOverflowIfNeeded(false); | 975 setShouldRepaintOverflowIfNeeded(false); |
| 976 setLayoutDidGetCalled(false); | 976 setLayoutDidGetCalled(false); |
| 977 } | 977 } |
| 978 | 978 |
| 979 // layoutDidGetCalled indicates whether this render object was re-laid-out | 979 // layoutDidGetCalled indicates whether this render object was re-laid-out |
| 980 // since the last call to setLayoutDidGetCalled(false) on this object. | 980 // since the last call to setLayoutDidGetCalled(false) on this object. |
| 981 bool layoutDidGetCalled() { return m_bitfields.layoutDidGetCalled(); } | 981 bool layoutDidGetCalled() { return m_bitfields.layoutDidGetCalled(); } |
| 982 void setLayoutDidGetCalled(bool b) { m_bitfields.setLayoutDidGetCalled(b); } | 982 void setLayoutDidGetCalled(bool b) { m_bitfields.setLayoutDidGetCalled(b); } |
| 983 | 983 |
| 984 bool shouldDisableLayoutState() const { return hasColumns() || hasTransform( ) || hasReflection() || style()->isFlippedBlocksWritingMode(); } | |
|
pdr.
2014/02/20 21:19:48
The comment in RenderEmbeddedObject.cpp makes me t
| |
| 985 | |
| 984 protected: | 986 protected: |
| 985 inline bool layerCreationAllowedForSubtree() const; | 987 inline bool layerCreationAllowedForSubtree() const; |
| 986 | 988 |
| 987 // Overrides should call the superclass at the end | 989 // Overrides should call the superclass at the end |
| 988 virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle); | 990 virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle); |
| 989 // Overrides should call the superclass at the start | 991 // Overrides should call the superclass at the start |
| 990 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); | 992 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); |
| 991 void propagateStyleToAnonymousChildren(bool blockChildrenOnly = false); | 993 void propagateStyleToAnonymousChildren(bool blockChildrenOnly = false); |
| 992 | 994 |
| 993 void drawLineForBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, Bo xSide, | 995 void drawLineForBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, Bo xSide, |
| (...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1402 void showTree(const WebCore::RenderObject*); | 1404 void showTree(const WebCore::RenderObject*); |
| 1403 void showLineTree(const WebCore::RenderObject*); | 1405 void showLineTree(const WebCore::RenderObject*); |
| 1404 void showRenderTree(const WebCore::RenderObject* object1); | 1406 void showRenderTree(const WebCore::RenderObject* object1); |
| 1405 // We don't make object2 an optional parameter so that showRenderTree | 1407 // We don't make object2 an optional parameter so that showRenderTree |
| 1406 // can be called from gdb easily. | 1408 // can be called from gdb easily. |
| 1407 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2); | 1409 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2); |
| 1408 | 1410 |
| 1409 #endif | 1411 #endif |
| 1410 | 1412 |
| 1411 #endif // RenderObject_h | 1413 #endif // RenderObject_h |
| OLD | NEW |