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

Side by Side Diff: Source/core/layout/LayoutObject.h

Issue 1307663002: Don't pass paintInvalidationContainer to LayoutBox::savePreviousBoxSizesIfNeeded() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/layout/LayoutBox.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 981 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 // Compute a list of hit-test rectangles per layer rooted at this layoutObje ct. 992 // Compute a list of hit-test rectangles per layer rooted at this layoutObje ct.
993 virtual void computeLayerHitTestRects(LayerHitTestRects&) const; 993 virtual void computeLayerHitTestRects(LayerHitTestRects&) const;
994 994
995 RespectImageOrientationEnum shouldRespectImageOrientation() const; 995 RespectImageOrientationEnum shouldRespectImageOrientation() const;
996 996
997 bool isRelayoutBoundaryForInspector() const; 997 bool isRelayoutBoundaryForInspector() const;
998 998
999 // The previous paint invalidation rect, in the the space of the paint inval idation container (*not* the graphics layer that paints 999 // The previous paint invalidation rect, in the the space of the paint inval idation container (*not* the graphics layer that paints
1000 // this object). 1000 // this object).
1001 LayoutRect previousPaintInvalidationRectIncludingCompositedScrolling(const L ayoutBoxModelObject& paintInvalidationContainer) const; 1001 LayoutRect previousPaintInvalidationRectIncludingCompositedScrolling(const L ayoutBoxModelObject& paintInvalidationContainer) const;
1002 LayoutSize previousPaintInvalidationRectSize() const { return previousPaintI nvalidationRect().size(); }
1002 void setPreviousPaintInvalidationRect(const LayoutRect& rect) { m_previousPa intInvalidationRect = rect; } 1003 void setPreviousPaintInvalidationRect(const LayoutRect& rect) { m_previousPa intInvalidationRect = rect; }
1003 1004
1004 // Only adjusts if the paint invalidation container is not a composited scro ller. 1005 // Only adjusts if the paint invalidation container is not a composited scro ller.
1005 void adjustPreviousPaintInvalidationForScrollIfNeeded(const DoubleSize& scro llDelta); 1006 void adjustPreviousPaintInvalidationForScrollIfNeeded(const DoubleSize& scro llDelta);
1006 1007
1007 // The previous position of the top-left corner of the object in its previou s paint backing. 1008 // The previous position of the top-left corner of the object in its previou s paint backing.
1008 const LayoutPoint& previousPositionFromPaintInvalidationBacking() const { re turn m_previousPositionFromPaintInvalidationBacking; } 1009 const LayoutPoint& previousPositionFromPaintInvalidationBacking() const { re turn m_previousPositionFromPaintInvalidationBacking; }
1009 void setPreviousPositionFromPaintInvalidationBacking(const LayoutPoint& posi tionFromPaintInvalidationBacking) { m_previousPositionFromPaintInvalidationBacki ng = positionFromPaintInvalidationBacking; } 1010 void setPreviousPositionFromPaintInvalidationBacking(const LayoutPoint& posi tionFromPaintInvalidationBacking) { m_previousPositionFromPaintInvalidationBacki ng = positionFromPaintInvalidationBacking; }
1010 1011
1011 PaintInvalidationReason fullPaintInvalidationReason() const { return m_bitfi elds.fullPaintInvalidationReason(); } 1012 PaintInvalidationReason fullPaintInvalidationReason() const { return m_bitfi elds.fullPaintInvalidationReason(); }
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
1669 void showTree(const blink::LayoutObject*); 1670 void showTree(const blink::LayoutObject*);
1670 void showLineTree(const blink::LayoutObject*); 1671 void showLineTree(const blink::LayoutObject*);
1671 void showLayoutTree(const blink::LayoutObject* object1); 1672 void showLayoutTree(const blink::LayoutObject* object1);
1672 // We don't make object2 an optional parameter so that showLayoutTree 1673 // We don't make object2 an optional parameter so that showLayoutTree
1673 // can be called from gdb easily. 1674 // can be called from gdb easily.
1674 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); 1675 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2);
1675 1676
1676 #endif 1677 #endif
1677 1678
1678 #endif // LayoutObject_h 1679 #endif // LayoutObject_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutBox.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698