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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutBlockFlow.h

Issue 2247543003: Tweak priorities of paint invalidation reasons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: - Created 4 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
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 * (C) 2007 David Smith (catfish.man@gmail.com) 4 * (C) 2007 David Smith (catfish.man@gmail.com)
5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved. 5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved.
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * Copyright (C) 2013 Google Inc. All rights reserved. 7 * Copyright (C) 2013 Google Inc. All rights reserved.
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions are 10 * modification, are permitted provided that the following conditions are
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 333
334 virtual LayoutObject* layoutSpecialExcludedChild(bool /*relayoutChildren*/, SubtreeLayoutScope&); 334 virtual LayoutObject* layoutSpecialExcludedChild(bool /*relayoutChildren*/, SubtreeLayoutScope&);
335 bool updateLogicalWidthAndColumnWidth() override; 335 bool updateLogicalWidthAndColumnWidth() override;
336 336
337 void setLogicalLeftForChild(LayoutBox& child, LayoutUnit logicalLeft); 337 void setLogicalLeftForChild(LayoutBox& child, LayoutUnit logicalLeft);
338 void setLogicalTopForChild(LayoutBox& child, LayoutUnit logicalTop); 338 void setLogicalTopForChild(LayoutBox& child, LayoutUnit logicalTop);
339 void determineLogicalLeftPositionForChild(LayoutBox& child); 339 void determineLogicalLeftPositionForChild(LayoutBox& child);
340 340
341 void addOutlineRects(Vector<LayoutRect>&, const LayoutPoint& additionalOffse t, IncludeBlockVisualOverflowOrNot) const override; 341 void addOutlineRects(Vector<LayoutRect>&, const LayoutPoint& additionalOffse t, IncludeBlockVisualOverflowOrNot) const override;
342 342
343 bool paintedOutputOfObjectHasNoEffect() const override; 343 bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const override;
344 PaintInvalidationReason invalidatePaintIfNeeded(const PaintInvalidationState &) override; 344 PaintInvalidationReason invalidatePaintIfNeeded(const PaintInvalidationState &) override;
345 PaintInvalidationReason invalidatePaintIfNeeded(const PaintInvalidatorContex t&) const override; 345 PaintInvalidationReason invalidatePaintIfNeeded(const PaintInvalidatorContex t&) const override;
346 346
347 Node* nodeForHitTest() const final; 347 Node* nodeForHitTest() const final;
348 bool hitTestChildren(HitTestResult&, const HitTestLocation& locationInContai ner, const LayoutPoint& accumulatedOffset, HitTestAction) override; 348 bool hitTestChildren(HitTestResult&, const HitTestLocation& locationInContai ner, const LayoutPoint& accumulatedOffset, HitTestAction) override;
349 349
350 LayoutSize accumulateInFlowPositionOffsets() const override; 350 LayoutSize accumulateInFlowPositionOffsets() const override;
351 351
352 private: 352 private:
353 bool layoutBlockFlow(bool relayoutChildren, LayoutUnit& pageLogicalHeight, S ubtreeLayoutScope&); 353 bool layoutBlockFlow(bool relayoutChildren, LayoutUnit& pageLogicalHeight, S ubtreeLayoutScope&);
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 660
661 // END METHODS DEFINED IN LayoutBlockFlowLine 661 // END METHODS DEFINED IN LayoutBlockFlowLine
662 662
663 }; 663 };
664 664
665 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); 665 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow());
666 666
667 } // namespace blink 667 } // namespace blink
668 668
669 #endif // LayoutBlockFlow_h 669 #endif // LayoutBlockFlow_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698