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

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

Issue 260963012: Override repaintTreeAfterLayout for RenderSVGModelObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Adjust TC again for increased resilience to platform differences. Created 6 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 | 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 * (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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE; 338 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE;
339 339
340 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOffset) const OVERRIDE; 340 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOffset) const OVERRIDE;
341 341
342 void computeRegionRangeForBlock(RenderFlowThread*); 342 void computeRegionRangeForBlock(RenderFlowThread*);
343 343
344 void updateBlockChildDirtyBitsBeforeLayout(bool relayoutChildren, RenderBox* ); 344 void updateBlockChildDirtyBitsBeforeLayout(bool relayoutChildren, RenderBox* );
345 345
346 virtual bool isInlineBlockOrInlineTable() const OVERRIDE FINAL { return isIn line() && isReplaced(); } 346 virtual bool isInlineBlockOrInlineTable() const OVERRIDE FINAL { return isIn line() && isReplaced(); }
347 347
348 virtual void repaintTreeAfterLayout() OVERRIDE;
349
348 private: 350 private:
349 virtual RenderObjectChildList* virtualChildren() OVERRIDE FINAL { return chi ldren(); } 351 virtual RenderObjectChildList* virtualChildren() OVERRIDE FINAL { return chi ldren(); }
350 virtual const RenderObjectChildList* virtualChildren() const OVERRIDE FINAL { return children(); } 352 virtual const RenderObjectChildList* virtualChildren() const OVERRIDE FINAL { return children(); }
351 353
352 virtual const char* renderName() const OVERRIDE; 354 virtual const char* renderName() const OVERRIDE;
353 355
354 virtual bool isRenderBlock() const OVERRIDE FINAL { return true; } 356 virtual bool isRenderBlock() const OVERRIDE FINAL { return true; }
355 357
356 virtual void repaintTreeAfterLayout() OVERRIDE;
357
358 void makeChildrenNonInline(RenderObject* insertionPoint = 0); 358 void makeChildrenNonInline(RenderObject* insertionPoint = 0);
359 virtual void removeLeftoverAnonymousBlock(RenderBlock* child); 359 virtual void removeLeftoverAnonymousBlock(RenderBlock* child);
360 360
361 static void collapseAnonymousBlockChild(RenderBlock* parent, RenderBlock* ch ild); 361 static void collapseAnonymousBlockChild(RenderBlock* parent, RenderBlock* ch ild);
362 362
363 virtual void dirtyLinesFromChangedChild(RenderObject* child) OVERRIDE FINAL { m_lineBoxes.dirtyLinesFromChangedChild(this, child); } 363 virtual void dirtyLinesFromChangedChild(RenderObject* child) OVERRIDE FINAL { m_lineBoxes.dirtyLinesFromChangedChild(this, child); }
364 364
365 void addChildToContinuation(RenderObject* newChild, RenderObject* beforeChil d); 365 void addChildToContinuation(RenderObject* newChild, RenderObject* beforeChil d);
366 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje ct* beforeChild) OVERRIDE; 366 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje ct* beforeChild) OVERRIDE;
367 void addChildToAnonymousColumnBlocks(RenderObject* newChild, RenderObject* b eforeChild); 367 void addChildToAnonymousColumnBlocks(RenderObject* newChild, RenderObject* b eforeChild);
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 // FIXME: This is temporary as we move code that accesses block flow 548 // FIXME: This is temporary as we move code that accesses block flow
549 // member variables out of RenderBlock and into RenderBlockFlow. 549 // member variables out of RenderBlock and into RenderBlockFlow.
550 friend class RenderBlockFlow; 550 friend class RenderBlockFlow;
551 }; 551 };
552 552
553 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); 553 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock());
554 554
555 } // namespace WebCore 555 } // namespace WebCore
556 556
557 #endif // RenderBlock_h 557 #endif // RenderBlock_h
OLDNEW
« no previous file with comments | « LayoutTests/svg/repaint/shape-transform-change-expected.txt ('k') | Source/core/rendering/svg/RenderSVGBlock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698