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

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

Issue 844023003: Delete InvalidationReason. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/RenderBlockFlow.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 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 virtual bool shouldComputeSizeAsReplaced() const { return isReplaced() && !i sInlineBlock(); } 527 virtual bool shouldComputeSizeAsReplaced() const { return isReplaced() && !i sInlineBlock(); }
528 528
529 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, const PaintInvalidationState* = 0) const override; 529 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, const PaintInvalidationState* = 0) const override;
530 530
531 void paintRootBoxFillLayers(const PaintInfo&); 531 void paintRootBoxFillLayers(const PaintInfo&);
532 532
533 RenderObject* splitAnonymousBoxesAroundChild(RenderObject* beforeChild); 533 RenderObject* splitAnonymousBoxesAroundChild(RenderObject* beforeChild);
534 534
535 void updateIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalH eight) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight; } 535 void updateIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalH eight) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight; }
536 536
537 virtual InvalidationReason getPaintInvalidationReason(const RenderLayerModel Object& paintInvalidationContainer,
538 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva lidationContainer,
539 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva lidationContainer) override;
540
541 virtual void clearPaintInvalidationState(const PaintInvalidationState&) over ride; 537 virtual void clearPaintInvalidationState(const PaintInvalidationState&) over ride;
542 #if ENABLE(ASSERT) 538 #if ENABLE(ASSERT)
543 virtual bool paintInvalidationStateIsDirty() const override; 539 virtual bool paintInvalidationStateIsDirty() const override;
544 #endif 540 #endif
545 541
546 private: 542 private:
547 void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logi calLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&) const; 543 void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logi calLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&) const;
548 544
549 // Returns true if we queued up a paint invalidation. 545 // Returns true if we queued up a paint invalidation.
550 bool paintInvalidationLayerRectsForImage(WrappedImagePtr, const FillLayer&, bool drawingBackground); 546 bool paintInvalidationLayerRectsForImage(WrappedImagePtr, const FillLayer&, bool drawingBackground);
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 if (UNLIKELY(inlineBoxWrapper() != 0)) 650 if (UNLIKELY(inlineBoxWrapper() != 0))
655 deleteLineBoxWrapper(); 651 deleteLineBoxWrapper();
656 } 652 }
657 653
658 ensureRareData().m_inlineBoxWrapper = boxWrapper; 654 ensureRareData().m_inlineBoxWrapper = boxWrapper;
659 } 655 }
660 656
661 } // namespace blink 657 } // namespace blink
662 658
663 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBOX_H_ 659 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBOX_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderBlockFlow.cpp ('k') | sky/engine/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698