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

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

Issue 203463007: Recompute overflow after transform changes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV ERRIDE; 337 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV ERRIDE;
338 338
339 virtual bool hasLineIfEmpty() const; 339 virtual bool hasLineIfEmpty() const;
340 340
341 bool simplifiedLayout(); 341 bool simplifiedLayout();
342 virtual void simplifiedNormalFlowLayout(); 342 virtual void simplifiedNormalFlowLayout();
343 343
344 void setDesiredColumnCountAndWidth(int, LayoutUnit); 344 void setDesiredColumnCountAndWidth(int, LayoutUnit);
345 345
346 public: 346 public:
347 void updateOverflowForTransform();
347 virtual void computeOverflow(LayoutUnit oldClientAfterEdge, bool = false); 348 virtual void computeOverflow(LayoutUnit oldClientAfterEdge, bool = false);
348 protected: 349 protected:
349 virtual void addOverflowFromChildren(); 350 virtual void addOverflowFromChildren();
350 void addOverflowFromPositionedObjects(); 351 void addOverflowFromPositionedObjects();
351 void addOverflowFromBlockChildren(); 352 void addOverflowFromBlockChildren();
352 void addVisualOverflowFromTheme(); 353 void addVisualOverflowFromTheme();
353 354
354 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE; 355 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE;
355 356
356 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOffset) const OVERRIDE; 357 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOffset) const OVERRIDE;
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 return false; 585 return false;
585 } 586 }
586 return true; 587 return true;
587 } 588 }
588 589
589 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); 590 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock());
590 591
591 } // namespace WebCore 592 } // namespace WebCore
592 593
593 #endif // RenderBlock_h 594 #endif // RenderBlock_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/RenderBlock.cpp » ('j') | Source/core/rendering/RenderObject.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698