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

Side by Side Diff: sky/engine/core/rendering/RenderBox.h

Issue 1070233002: Remove dead code around anonymous renderers. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/engine/core/rendering/RenderBlock.cpp ('k') | sky/engine/core/rendering/RenderBox.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 479
480 LayoutUnit computeIntrinsicLogicalWidthUsing(const Length& logicalWidthLengt h, LayoutUnit availableLogicalWidth, LayoutUnit borderAndPadding) const; 480 LayoutUnit computeIntrinsicLogicalWidthUsing(const Length& logicalWidthLengt h, LayoutUnit availableLogicalWidth, LayoutUnit borderAndPadding) const;
481 LayoutUnit computeIntrinsicLogicalContentHeightUsing(const Length& logicalHe ightLength, LayoutUnit intrinsicContentHeight, LayoutUnit borderAndPadding) cons t; 481 LayoutUnit computeIntrinsicLogicalContentHeightUsing(const Length& logicalHe ightLength, LayoutUnit intrinsicContentHeight, LayoutUnit borderAndPadding) cons t;
482 482
483 virtual bool shouldComputeSizeAsReplaced() const { return isReplaced() && !i sInlineBlock(); } 483 virtual bool shouldComputeSizeAsReplaced() const { return isReplaced() && !i sInlineBlock(); }
484 484
485 virtual void mapLocalToContainer(const RenderBox* paintInvalidationContainer , TransformState&, MapCoordinatesFlags = ApplyContainerFlip) const override; 485 virtual void mapLocalToContainer(const RenderBox* paintInvalidationContainer , TransformState&, MapCoordinatesFlags = ApplyContainerFlip) const override;
486 486
487 void paintRootBoxFillLayers(const PaintInfo&); 487 void paintRootBoxFillLayers(const PaintInfo&);
488 488
489 RenderObject* splitAnonymousBoxesAroundChild(RenderObject* beforeChild);
490
491 void updateIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalH eight) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight; } 489 void updateIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalH eight) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight; }
492 490
493 private: 491 private:
494 void updateTransformationMatrix(); 492 void updateTransformationMatrix();
495 void updateTransform(const RenderStyle* oldStyle); 493 void updateTransform(const RenderStyle* oldStyle);
496 void updateFromStyle(); 494 void updateFromStyle();
497 void updateFilters(); 495 void updateFilters();
498 496
499 PassRefPtr<HitTestingTransformState> createLocalTransformState( 497 PassRefPtr<HitTestingTransformState> createLocalTransformState(
500 RenderLayer* rootLayer, RenderLayer* containerLayer, 498 RenderLayer* rootLayer, RenderLayer* containerLayer,
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 if (UNLIKELY(inlineBoxWrapper() != 0)) 611 if (UNLIKELY(inlineBoxWrapper() != 0))
614 deleteLineBoxWrapper(); 612 deleteLineBoxWrapper();
615 } 613 }
616 614
617 ensureRareData().m_inlineBoxWrapper = boxWrapper; 615 ensureRareData().m_inlineBoxWrapper = boxWrapper;
618 } 616 }
619 617
620 } // namespace blink 618 } // namespace blink
621 619
622 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBOX_H_ 620 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBOX_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderBlock.cpp ('k') | sky/engine/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698