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

Side by Side Diff: Source/core/rendering/RenderBox.h

Issue 403593005: Clear scrollbar damages in time (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: s/enclosingLayer/hasLayer|layer/ Created 6 years, 4 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 | Annotate | Revision Log
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 664 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 675
676 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur rentCompositedLayer, const LayoutPoint& layerOffset, const LayoutRect& container Rect) const OVERRIDE; 676 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur rentCompositedLayer, const LayoutPoint& layerOffset, const LayoutRect& container Rect) const OVERRIDE;
677 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOffset) const OVERRIDE; 677 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOffset) const OVERRIDE;
678 678
679 void updateIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalH eight) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight; } 679 void updateIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalH eight) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight; }
680 680
681 virtual InvalidationReason getPaintInvalidationReason(const RenderLayerModel Object& paintInvalidationContainer, 681 virtual InvalidationReason getPaintInvalidationReason(const RenderLayerModel Object& paintInvalidationContainer,
682 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva lidationContainer, 682 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva lidationContainer,
683 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva lidationContainer) OVERRIDE; 683 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva lidationContainer) OVERRIDE;
684 684
685 virtual void clearPaintInvalidationState() OVERRIDE;
686 #if ENABLE(ASSERT)
687 virtual bool paintInvalidationStateIsDirty() const OVERRIDE;
688 #endif
689
685 private: 690 private:
686 void updateShapeOutsideInfoAfterStyleChange(const RenderStyle&, const Render Style* oldStyle); 691 void updateShapeOutsideInfoAfterStyleChange(const RenderStyle&, const Render Style* oldStyle);
687 void updateGridPositionAfterStyleChange(const RenderStyle*); 692 void updateGridPositionAfterStyleChange(const RenderStyle*);
688 693
689 bool autoWidthShouldFitContent() const; 694 bool autoWidthShouldFitContent() const;
690 void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logi calLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&) const; 695 void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logi calLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&) const;
691 696
692 // Returns true if we did a full repaint 697 // Returns true if we did a full repaint
693 bool repaintLayerRectsForImage(WrappedImagePtr, const FillLayer&, bool drawi ngBackground); 698 bool repaintLayerRectsForImage(WrappedImagePtr, const FillLayer&, bool drawi ngBackground);
694 699
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 if (UNLIKELY(inlineBoxWrapper() != 0)) 801 if (UNLIKELY(inlineBoxWrapper() != 0))
797 deleteLineBoxWrapper(); 802 deleteLineBoxWrapper();
798 } 803 }
799 804
800 ensureRareData().m_inlineBoxWrapper = boxWrapper; 805 ensureRareData().m_inlineBoxWrapper = boxWrapper;
801 } 806 }
802 807
803 } // namespace blink 808 } // namespace blink
804 809
805 #endif // RenderBox_h 810 #endif // RenderBox_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698