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

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

Issue 1952763002: Move showLineTreeAndMark() to LayoutBlockFlow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 FloatingObject* lastFloatFromPreviousLine() const 279 FloatingObject* lastFloatFromPreviousLine() const
280 { 280 {
281 return containsFloats() ? m_floatingObjects->set().last().get() : nullpt r; 281 return containsFloats() ? m_floatingObjects->set().last().get() : nullpt r;
282 } 282 }
283 283
284 void invalidateDisplayItemClientsOfFirstLine(); 284 void invalidateDisplayItemClientsOfFirstLine();
285 285
286 void simplifiedNormalFlowInlineLayout(); 286 void simplifiedNormalFlowInlineLayout();
287 bool recalcInlineChildrenOverflowAfterStyleChange(); 287 bool recalcInlineChildrenOverflowAfterStyleChange();
288 288
289 #ifndef NDEBUG
290 void showLineTreeAndMark(const InlineBox* = nullptr, const char* = nullptr, const InlineBox* = nullptr, const char* = nullptr, const LayoutObject* = nullptr ) const;
291 #endif
292
289 protected: 293 protected:
290 void rebuildFloatsFromIntruding(); 294 void rebuildFloatsFromIntruding();
291 void layoutInlineChildren(bool relayoutChildren, LayoutUnit& paintInvalidati onLogicalTop, LayoutUnit& paintInvalidationLogicalBottom, LayoutUnit afterEdge); 295 void layoutInlineChildren(bool relayoutChildren, LayoutUnit& paintInvalidati onLogicalTop, LayoutUnit& paintInvalidationLogicalBottom, LayoutUnit afterEdge);
292 void addLowestFloatFromChildren(LayoutBlockFlow*); 296 void addLowestFloatFromChildren(LayoutBlockFlow*);
293 297
294 void createFloatingObjects(); 298 void createFloatingObjects();
295 299
296 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) overrid e; 300 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) overrid e;
297 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override ; 301 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override ;
298 302
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 616
613 // END METHODS DEFINED IN LayoutBlockFlowLine 617 // END METHODS DEFINED IN LayoutBlockFlowLine
614 618
615 }; 619 };
616 620
617 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); 621 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow());
618 622
619 } // namespace blink 623 } // namespace blink
620 624
621 #endif // LayoutBlockFlow_h 625 #endif // LayoutBlockFlow_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698