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

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

Issue 2208463003: First step of PaintInvalidator implementation (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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 bool updateLogicalWidthAndColumnWidth() override; 336 bool updateLogicalWidthAndColumnWidth() override;
337 337
338 void setLogicalLeftForChild(LayoutBox& child, LayoutUnit logicalLeft); 338 void setLogicalLeftForChild(LayoutBox& child, LayoutUnit logicalLeft);
339 void setLogicalTopForChild(LayoutBox& child, LayoutUnit logicalTop); 339 void setLogicalTopForChild(LayoutBox& child, LayoutUnit logicalTop);
340 void determineLogicalLeftPositionForChild(LayoutBox& child); 340 void determineLogicalLeftPositionForChild(LayoutBox& child);
341 341
342 void addOutlineRects(Vector<LayoutRect>&, const LayoutPoint& additionalOffse t, IncludeBlockVisualOverflowOrNot) const override; 342 void addOutlineRects(Vector<LayoutRect>&, const LayoutPoint& additionalOffse t, IncludeBlockVisualOverflowOrNot) const override;
343 343
344 bool paintedOutputOfObjectHasNoEffect() const override; 344 bool paintedOutputOfObjectHasNoEffect() const override;
345 PaintInvalidationReason invalidatePaintIfNeeded(const PaintInvalidationState &) override; 345 PaintInvalidationReason invalidatePaintIfNeeded(const PaintInvalidationState &) override;
346 PaintInvalidationReason invalidatePaintIfNeeded(const PaintInvalidatorContex t&) const override;
346 347
347 Node* nodeForHitTest() const final; 348 Node* nodeForHitTest() const final;
348 bool hitTestChildren(HitTestResult&, const HitTestLocation& locationInContai ner, const LayoutPoint& accumulatedOffset, HitTestAction) override; 349 bool hitTestChildren(HitTestResult&, const HitTestLocation& locationInContai ner, const LayoutPoint& accumulatedOffset, HitTestAction) override;
349 350
350 LayoutSize accumulateInFlowPositionOffsets() const override; 351 LayoutSize accumulateInFlowPositionOffsets() const override;
351 352
352 private: 353 private:
353 bool layoutBlockFlow(bool relayoutChildren, LayoutUnit& pageLogicalHeight, S ubtreeLayoutScope&); 354 bool layoutBlockFlow(bool relayoutChildren, LayoutUnit& pageLogicalHeight, S ubtreeLayoutScope&);
354 void layoutBlockChildren(bool relayoutChildren, SubtreeLayoutScope&, LayoutU nit beforeEdge, LayoutUnit afterEdge); 355 void layoutBlockChildren(bool relayoutChildren, SubtreeLayoutScope&, LayoutU nit beforeEdge, LayoutUnit afterEdge);
355 356
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 661
661 // END METHODS DEFINED IN LayoutBlockFlowLine 662 // END METHODS DEFINED IN LayoutBlockFlowLine
662 663
663 }; 664 };
664 665
665 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); 666 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow());
666 667
667 } // namespace blink 668 } // namespace blink
668 669
669 #endif // LayoutBlockFlow_h 670 #endif // LayoutBlockFlow_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698