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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 2000683002: Keep writing-mode in sync between a column spanner and its placeholder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: There should no longer be any need for LayoutTable to propagateStyleToAnonymousChildren(), since La… Created 4 years, 7 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) 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 1462 matching lines...) Expand 10 before | Expand all | Expand 10 after
1473 virtual bool isOfType(LayoutObjectType type) const { return false; } 1473 virtual bool isOfType(LayoutObjectType type) const { return false; }
1474 1474
1475 inline bool layerCreationAllowedForSubtree() const; 1475 inline bool layerCreationAllowedForSubtree() const;
1476 1476
1477 // Overrides should call the superclass at the end. m_style will be 0 the fi rst time 1477 // Overrides should call the superclass at the end. m_style will be 0 the fi rst time
1478 // this function will be called. 1478 // this function will be called.
1479 virtual void styleWillChange(StyleDifference, const ComputedStyle& newStyle) ; 1479 virtual void styleWillChange(StyleDifference, const ComputedStyle& newStyle) ;
1480 // Overrides should call the superclass at the start. |oldStyle| will be 0 t he first 1480 // Overrides should call the superclass at the start. |oldStyle| will be 0 t he first
1481 // time this function is called. 1481 // time this function is called.
1482 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle); 1482 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle);
1483 void propagateStyleToAnonymousChildren(bool blockChildrenOnly = false); 1483 void propagateStyleToAnonymousChildren();
1484 // Return true for objects that don't want style changes automatically propa gated via
1485 // propagateStyleToAnonymousChildren(), but rather rely on other custom mech anisms (if they
1486 // need to be notified of parent style changes at all).
1487 virtual bool anonymousHasStylePropagationOverride() { return false; }
1484 1488
1485 protected: 1489 protected:
1486 // This function is called before calling the destructor so that some clean- up 1490 // This function is called before calling the destructor so that some clean- up
1487 // can happen regardless of whether they call a virtual function or not. As a 1491 // can happen regardless of whether they call a virtual function or not. As a
1488 // rule of thumb, this function should be preferred to the destructor. See 1492 // rule of thumb, this function should be preferred to the destructor. See
1489 // destroy() that is the one calling willBeDestroyed(). 1493 // destroy() that is the one calling willBeDestroyed().
1490 // 1494 //
1491 // There are 2 types of destructions: regular destructions and tree tear-dow n. 1495 // There are 2 types of destructions: regular destructions and tree tear-dow n.
1492 // Regular destructions happen when the renderer is not needed anymore (e.g. 1496 // Regular destructions happen when the renderer is not needed anymore (e.g.
1493 // 'display' changed or the DOM Node was removed). 1497 // 'display' changed or the DOM Node was removed).
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after
2174 void showTree(const blink::LayoutObject*); 2178 void showTree(const blink::LayoutObject*);
2175 void showLineTree(const blink::LayoutObject*); 2179 void showLineTree(const blink::LayoutObject*);
2176 void showLayoutTree(const blink::LayoutObject* object1); 2180 void showLayoutTree(const blink::LayoutObject* object1);
2177 // We don't make object2 an optional parameter so that showLayoutTree 2181 // We don't make object2 an optional parameter so that showLayoutTree
2178 // can be called from gdb easily. 2182 // can be called from gdb easily.
2179 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); 2183 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2);
2180 2184
2181 #endif 2185 #endif
2182 2186
2183 #endif // LayoutObject_h 2187 #endif // LayoutObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698