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

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

Issue 2046863006: Dirty line boxes correctly when a float gets layout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@618230
Patch Set: Updated Created 4 years, 6 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) 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 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
914 914
915 bool hitTest(HitTestResult&, const HitTestLocation& locationInContainer, con st LayoutPoint& accumulatedOffset, HitTestFilter = HitTestAll); 915 bool hitTest(HitTestResult&, const HitTestLocation& locationInContainer, con st LayoutPoint& accumulatedOffset, HitTestFilter = HitTestAll);
916 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&); 916 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&);
917 virtual bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInCo ntainer, const LayoutPoint& accumulatedOffset, HitTestAction); 917 virtual bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInCo ntainer, const LayoutPoint& accumulatedOffset, HitTestAction);
918 918
919 virtual PositionWithAffinity positionForPoint(const LayoutPoint&); 919 virtual PositionWithAffinity positionForPoint(const LayoutPoint&);
920 PositionWithAffinity createPositionWithAffinity(int offset, TextAffinity); 920 PositionWithAffinity createPositionWithAffinity(int offset, TextAffinity);
921 PositionWithAffinity createPositionWithAffinity(int offset); 921 PositionWithAffinity createPositionWithAffinity(int offset);
922 PositionWithAffinity createPositionWithAffinity(const Position&); 922 PositionWithAffinity createPositionWithAffinity(const Position&);
923 923
924 virtual void dirtyLinesFromChangedChild(LayoutObject*); 924 virtual void dirtyLinesFromChangedChild(LayoutObject*, MarkingBehavior marki ngBehaviour = MarkContainerChain);
925 925
926 // Set the style of the object and update the state of the object accordingl y. 926 // Set the style of the object and update the state of the object accordingl y.
927 void setStyle(PassRefPtr<ComputedStyle>); 927 void setStyle(PassRefPtr<ComputedStyle>);
928 928
929 // Set the style of the object if it's generated content. 929 // Set the style of the object if it's generated content.
930 void setPseudoStyle(PassRefPtr<ComputedStyle>); 930 void setPseudoStyle(PassRefPtr<ComputedStyle>);
931 931
932 // Updates only the local style ptr of the object. Does not update the stat e of the object, 932 // Updates only the local style ptr of the object. Does not update the stat e of the object,
933 // and so only should be called when the style is known not to have changed (or from setStyle). 933 // and so only should be called when the style is known not to have changed (or from setStyle).
934 void setStyleInternal(PassRefPtr<ComputedStyle> style) { m_style = style; } 934 void setStyleInternal(PassRefPtr<ComputedStyle> style) { m_style = style; }
(...skipping 1257 matching lines...) Expand 10 before | Expand all | Expand 10 after
2192 void showTree(const blink::LayoutObject*); 2192 void showTree(const blink::LayoutObject*);
2193 void showLineTree(const blink::LayoutObject*); 2193 void showLineTree(const blink::LayoutObject*);
2194 void showLayoutTree(const blink::LayoutObject* object1); 2194 void showLayoutTree(const blink::LayoutObject* object1);
2195 // We don't make object2 an optional parameter so that showLayoutTree 2195 // We don't make object2 an optional parameter so that showLayoutTree
2196 // can be called from gdb easily. 2196 // can be called from gdb easily.
2197 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); 2197 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2);
2198 2198
2199 #endif 2199 #endif
2200 2200
2201 #endif // LayoutObject_h 2201 #endif // LayoutObject_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutInline.h ('k') | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698