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

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

Issue 179993006: [New multicol] Eliminate the need for RenderMultiColumnBlock. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code review Created 6 years, 10 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, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r ights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje ct* beforeChild) OVERRIDE; 382 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje ct* beforeChild) OVERRIDE;
383 void addChildToAnonymousColumnBlocks(RenderObject* newChild, RenderObject* b eforeChild); 383 void addChildToAnonymousColumnBlocks(RenderObject* newChild, RenderObject* b eforeChild);
384 384
385 void addChildIgnoringAnonymousColumnBlocks(RenderObject* newChild, RenderObj ect* beforeChild = 0); 385 void addChildIgnoringAnonymousColumnBlocks(RenderObject* newChild, RenderObj ect* beforeChild = 0);
386 386
387 virtual bool isSelfCollapsingBlock() const OVERRIDE; 387 virtual bool isSelfCollapsingBlock() const OVERRIDE;
388 388
389 void insertIntoTrackedRendererMaps(RenderBox* descendant, TrackedDescendants Map*&, TrackedContainerMap*&); 389 void insertIntoTrackedRendererMaps(RenderBox* descendant, TrackedDescendants Map*&, TrackedContainerMap*&);
390 static void removeFromTrackedRendererMaps(RenderBox* descendant, TrackedDesc endantsMap*&, TrackedContainerMap*&); 390 static void removeFromTrackedRendererMaps(RenderBox* descendant, TrackedDesc endantsMap*&, TrackedContainerMap*&);
391 391
392 // Called to lay out the legend for a fieldset or the ruby text of a ruby ru n.
393 virtual RenderObject* layoutSpecialExcludedChild(bool /*relayoutChildren*/, SubtreeLayoutScope&) { return 0; }
394
395 void createFirstLetterRenderer(RenderObject* firstLetterBlock, RenderObject* currentChild, unsigned length); 392 void createFirstLetterRenderer(RenderObject* firstLetterBlock, RenderObject* currentChild, unsigned length);
396 void updateFirstLetterStyle(RenderObject* firstLetterBlock, RenderObject* fi rstLetterContainer); 393 void updateFirstLetterStyle(RenderObject* firstLetterBlock, RenderObject* fi rstLetterContainer);
397 394
398 Node* nodeForHitTest() const; 395 Node* nodeForHitTest() const;
399 396
400 // FIXME-BLOCKFLOW: Remove virtualizaion when all callers have moved to Rend erBlockFlow 397 // FIXME-BLOCKFLOW: Remove virtualizaion when all callers have moved to Rend erBlockFlow
401 virtual void paintFloats(PaintInfo&, const LayoutPoint&, bool) { } 398 virtual void paintFloats(PaintInfo&, const LayoutPoint&, bool) { }
402 void paintContents(PaintInfo&, const LayoutPoint&); 399 void paintContents(PaintInfo&, const LayoutPoint&);
403 void paintColumnContents(PaintInfo&, const LayoutPoint&, bool paintFloats = false); 400 void paintColumnContents(PaintInfo&, const LayoutPoint&, bool paintFloats = false);
404 void paintColumnRules(PaintInfo&, const LayoutPoint&); 401 void paintColumnRules(PaintInfo&, const LayoutPoint&);
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 return false; 584 return false;
588 } 585 }
589 return true; 586 return true;
590 } 587 }
591 588
592 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); 589 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock());
593 590
594 } // namespace WebCore 591 } // namespace WebCore
595 592
596 #endif // RenderBlock_h 593 #endif // RenderBlock_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698