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

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

Issue 1661523002: Update should paint flag when a float's composited scrolling status changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix windows build Created 4 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, 2011 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 void moveAllToFloatInfoMap(LayoutBoxToFloatInfoMap&); 144 void moveAllToFloatInfoMap(LayoutBoxToFloatInfoMap&);
145 FloatingObject* add(PassOwnPtr<FloatingObject>); 145 FloatingObject* add(PassOwnPtr<FloatingObject>);
146 void remove(FloatingObject*); 146 void remove(FloatingObject*);
147 void addPlacedObject(FloatingObject&); 147 void addPlacedObject(FloatingObject&);
148 void removePlacedObject(FloatingObject&); 148 void removePlacedObject(FloatingObject&);
149 void setHorizontalWritingMode(bool b = true) { m_horizontalWritingMode = b; } 149 void setHorizontalWritingMode(bool b = true) { m_horizontalWritingMode = b; }
150 150
151 bool hasLeftObjects() const { return m_leftObjectsCount > 0; } 151 bool hasLeftObjects() const { return m_leftObjectsCount > 0; }
152 bool hasRightObjects() const { return m_rightObjectsCount > 0; } 152 bool hasRightObjects() const { return m_rightObjectsCount > 0; }
153 const FloatingObjectSet& set() const { return m_set; } 153 const FloatingObjectSet& set() const { return m_set; }
154 FloatingObjectSet& mutableSet() { return m_set; }
154 void clearLineBoxTreePointers(); 155 void clearLineBoxTreePointers();
155 156
156 LayoutUnit logicalLeftOffset(LayoutUnit fixedOffset, LayoutUnit logicalTop, LayoutUnit logicalHeight); 157 LayoutUnit logicalLeftOffset(LayoutUnit fixedOffset, LayoutUnit logicalTop, LayoutUnit logicalHeight);
157 LayoutUnit logicalRightOffset(LayoutUnit fixedOffset, LayoutUnit logicalTop, LayoutUnit logicalHeight); 158 LayoutUnit logicalRightOffset(LayoutUnit fixedOffset, LayoutUnit logicalTop, LayoutUnit logicalHeight);
158 159
159 LayoutUnit logicalLeftOffsetForPositioningFloat(LayoutUnit fixedOffset, Layo utUnit logicalTop, LayoutUnit* heightRemaining); 160 LayoutUnit logicalLeftOffsetForPositioningFloat(LayoutUnit fixedOffset, Layo utUnit logicalTop, LayoutUnit* heightRemaining);
160 LayoutUnit logicalRightOffsetForPositioningFloat(LayoutUnit fixedOffset, Lay outUnit logicalTop, LayoutUnit* heightRemaining); 161 LayoutUnit logicalRightOffsetForPositioningFloat(LayoutUnit fixedOffset, Lay outUnit logicalTop, LayoutUnit* heightRemaining);
161 LayoutUnit findNextFloatLogicalBottomBelow(LayoutUnit logicalHeight); 162 LayoutUnit findNextFloatLogicalBottomBelow(LayoutUnit logicalHeight);
162 LayoutUnit findNextFloatLogicalBottomBelowForBlock(LayoutUnit logicalHeight) ; 163 LayoutUnit findNextFloatLogicalBottomBelowForBlock(LayoutUnit logicalHeight) ;
163 164
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 static String string(const LayoutUnit value); 204 static String string(const LayoutUnit value);
204 }; 205 };
205 template<> struct ValueToString<FloatingObject*> { 206 template<> struct ValueToString<FloatingObject*> {
206 static String string(const FloatingObject*); 207 static String string(const FloatingObject*);
207 }; 208 };
208 #endif 209 #endif
209 210
210 } // namespace blink 211 } // namespace blink
211 212
212 #endif // FloatingObjects_h 213 #endif // FloatingObjects_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698