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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 | 444 |
445 bool skipInvalidationWhenLaidOutChildren() const; | 445 bool skipInvalidationWhenLaidOutChildren() const; |
446 | 446 |
447 public: | 447 public: |
448 #ifndef NDEBUG | 448 #ifndef NDEBUG |
449 void showTreeForThis() const; | 449 void showTreeForThis() const; |
450 void showLayoutTreeForThis() const; | 450 void showLayoutTreeForThis() const; |
451 void showLineTreeForThis() const; | 451 void showLineTreeForThis() const; |
452 | 452 |
453 void showLayoutObject() const; | 453 void showLayoutObject() const; |
454 // We don't make printedCharacters an optional parameter so that | 454 // We don't make stringBuilder an optional parameter so that |
455 // showLayoutObject can be called from gdb easily. | 455 // showLayoutObject can be called from gdb easily. |
456 void showLayoutObject(int printedCharacters) const; | 456 void showLayoutObject(StringBuilder&) const; |
457 void showLayoutTreeAndMark(const LayoutObject* markedObject1 = nullptr, cons
t char* markedLabel1 = nullptr, const LayoutObject* markedObject2 = nullptr, con
st char* markedLabel2 = nullptr, int depth = 0) const; | 457 void showLayoutTreeAndMark(const LayoutObject* markedObject1 = nullptr, cons
t char* markedLabel1 = nullptr, const LayoutObject* markedObject2 = nullptr, con
st char* markedLabel2 = nullptr, unsigned depth = 0) const; |
458 #endif | 458 #endif |
459 | 459 |
460 // This function is used to create the appropriate LayoutObject based | 460 // This function is used to create the appropriate LayoutObject based |
461 // on the style, in particular 'display' and 'content'. | 461 // on the style, in particular 'display' and 'content'. |
462 // "display: none" is the only time this function will return nullptr. | 462 // "display: none" is the only time this function will return nullptr. |
463 // | 463 // |
464 // For renderer creation, the inline-* values create the same renderer | 464 // For renderer creation, the inline-* values create the same renderer |
465 // as the non-inline version. The difference is that inline-* sets | 465 // as the non-inline version. The difference is that inline-* sets |
466 // m_isInline during initialization. This means that | 466 // m_isInline during initialization. This means that |
467 // "display: inline-table" creates a LayoutTable, like "display: table". | 467 // "display: inline-table" creates a LayoutTable, like "display: table". |
(...skipping 1711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2179 void showTree(const blink::LayoutObject*); | 2179 void showTree(const blink::LayoutObject*); |
2180 void showLineTree(const blink::LayoutObject*); | 2180 void showLineTree(const blink::LayoutObject*); |
2181 void showLayoutTree(const blink::LayoutObject* object1); | 2181 void showLayoutTree(const blink::LayoutObject* object1); |
2182 // We don't make object2 an optional parameter so that showLayoutTree | 2182 // We don't make object2 an optional parameter so that showLayoutTree |
2183 // can be called from gdb easily. | 2183 // can be called from gdb easily. |
2184 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 2184 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
2185 | 2185 |
2186 #endif | 2186 #endif |
2187 | 2187 |
2188 #endif // LayoutObject_h | 2188 #endif // LayoutObject_h |
OLD | NEW |