| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 LayoutUnit overrideLogicalContentWidth() const; | 315 LayoutUnit overrideLogicalContentWidth() const; |
| 316 LayoutUnit overrideLogicalContentHeight() const; | 316 LayoutUnit overrideLogicalContentHeight() const; |
| 317 bool hasOverrideHeight() const; | 317 bool hasOverrideHeight() const; |
| 318 bool hasOverrideWidth() const; | 318 bool hasOverrideWidth() const; |
| 319 void setOverrideLogicalContentHeight(LayoutUnit); | 319 void setOverrideLogicalContentHeight(LayoutUnit); |
| 320 void setOverrideLogicalContentWidth(LayoutUnit); | 320 void setOverrideLogicalContentWidth(LayoutUnit); |
| 321 void clearOverrideSize(); | 321 void clearOverrideSize(); |
| 322 void clearOverrideLogicalContentHeight(); | 322 void clearOverrideLogicalContentHeight(); |
| 323 void clearOverrideLogicalContentWidth(); | 323 void clearOverrideLogicalContentWidth(); |
| 324 | 324 |
| 325 LayoutUnit overrideContainingBlockContentLogicalWidth() const; | |
| 326 LayoutUnit overrideContainingBlockContentLogicalHeight() const; | |
| 327 bool hasOverrideContainingBlockLogicalWidth() const; | |
| 328 bool hasOverrideContainingBlockLogicalHeight() const; | |
| 329 void setOverrideContainingBlockContentLogicalWidth(LayoutUnit); | |
| 330 void setOverrideContainingBlockContentLogicalHeight(LayoutUnit); | |
| 331 void clearContainingBlockOverrideSize(); | |
| 332 void clearOverrideContainingBlockContentLogicalHeight(); | |
| 333 | |
| 334 virtual LayoutSize offsetFromContainer(const RenderObject*, const LayoutPoin
t&, bool* offsetDependsOnPoint = 0) const override; | 325 virtual LayoutSize offsetFromContainer(const RenderObject*, const LayoutPoin
t&, bool* offsetDependsOnPoint = 0) const override; |
| 335 | 326 |
| 336 LayoutUnit adjustBorderBoxLogicalWidthForBoxSizing(LayoutUnit width) const; | 327 LayoutUnit adjustBorderBoxLogicalWidthForBoxSizing(LayoutUnit width) const; |
| 337 LayoutUnit adjustBorderBoxLogicalHeightForBoxSizing(LayoutUnit height) const
; | 328 LayoutUnit adjustBorderBoxLogicalHeightForBoxSizing(LayoutUnit height) const
; |
| 338 LayoutUnit adjustContentBoxLogicalWidthForBoxSizing(LayoutUnit width) const; | 329 LayoutUnit adjustContentBoxLogicalWidthForBoxSizing(LayoutUnit width) const; |
| 339 LayoutUnit adjustContentBoxLogicalHeightForBoxSizing(LayoutUnit height) cons
t; | 330 LayoutUnit adjustContentBoxLogicalHeightForBoxSizing(LayoutUnit height) cons
t; |
| 340 | 331 |
| 341 struct ComputedMarginValues { | 332 struct ComputedMarginValues { |
| 342 ComputedMarginValues() { } | 333 ComputedMarginValues() { } |
| 343 | 334 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 369 // For inline replaced elements, this function returns the inline box that o
wns us. Enables | 360 // For inline replaced elements, this function returns the inline box that o
wns us. Enables |
| 370 // the replaced RenderObject to quickly determine what line it is contained
on and to easily | 361 // the replaced RenderObject to quickly determine what line it is contained
on and to easily |
| 371 // iterate over structures on the line. | 362 // iterate over structures on the line. |
| 372 InlineBox* inlineBoxWrapper() const { return m_rareData ? m_rareData->m_inli
neBoxWrapper : 0; } | 363 InlineBox* inlineBoxWrapper() const { return m_rareData ? m_rareData->m_inli
neBoxWrapper : 0; } |
| 373 void setInlineBoxWrapper(InlineBox*); | 364 void setInlineBoxWrapper(InlineBox*); |
| 374 void deleteLineBoxWrapper(); | 365 void deleteLineBoxWrapper(); |
| 375 | 366 |
| 376 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t override; | 367 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t override; |
| 377 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject*
paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const o
verride; | 368 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject*
paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const o
verride; |
| 378 | 369 |
| 379 virtual LayoutUnit containingBlockLogicalWidthForContent() const override; | |
| 380 LayoutUnit containingBlockLogicalHeightForContent(AvailableLogicalHeightType
) const; | 370 LayoutUnit containingBlockLogicalHeightForContent(AvailableLogicalHeightType
) const; |
| 381 | 371 |
| 382 LayoutUnit containingBlockAvailableLineWidth() const; | 372 LayoutUnit containingBlockAvailableLineWidth() const; |
| 383 LayoutUnit perpendicularContainingBlockLogicalHeight() const; | 373 LayoutUnit perpendicularContainingBlockLogicalHeight() const; |
| 384 | 374 |
| 385 virtual void updateLogicalWidth(); | 375 virtual void updateLogicalWidth(); |
| 386 virtual void updateLogicalHeight(); | 376 virtual void updateLogicalHeight(); |
| 387 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const; | 377 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const; |
| 388 | 378 |
| 389 void computeLogicalWidth(LogicalExtentComputedValues&) const; | 379 void computeLogicalWidth(LogicalExtentComputedValues&) const; |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 688 if (UNLIKELY(inlineBoxWrapper() != 0)) | 678 if (UNLIKELY(inlineBoxWrapper() != 0)) |
| 689 deleteLineBoxWrapper(); | 679 deleteLineBoxWrapper(); |
| 690 } | 680 } |
| 691 | 681 |
| 692 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 682 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 693 } | 683 } |
| 694 | 684 |
| 695 } // namespace blink | 685 } // namespace blink |
| 696 | 686 |
| 697 #endif // RenderBox_h | 687 #endif // RenderBox_h |
| OLD | NEW |