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

Side by Side Diff: sky/engine/core/rendering/RenderInline.h

Issue 686653002: Remove a bunch of fixed position dead code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 virtual LayoutUnit marginLeft() const override final; 51 virtual LayoutUnit marginLeft() const override final;
52 virtual LayoutUnit marginRight() const override final; 52 virtual LayoutUnit marginRight() const override final;
53 virtual LayoutUnit marginTop() const override final; 53 virtual LayoutUnit marginTop() const override final;
54 virtual LayoutUnit marginBottom() const override final; 54 virtual LayoutUnit marginBottom() const override final;
55 virtual LayoutUnit marginBefore(const RenderStyle* otherStyle = 0) const ove rride final; 55 virtual LayoutUnit marginBefore(const RenderStyle* otherStyle = 0) const ove rride final;
56 virtual LayoutUnit marginAfter(const RenderStyle* otherStyle = 0) const over ride final; 56 virtual LayoutUnit marginAfter(const RenderStyle* otherStyle = 0) const over ride final;
57 virtual LayoutUnit marginStart(const RenderStyle* otherStyle = 0) const over ride final; 57 virtual LayoutUnit marginStart(const RenderStyle* otherStyle = 0) const over ride final;
58 virtual LayoutUnit marginEnd(const RenderStyle* otherStyle = 0) const overri de final; 58 virtual LayoutUnit marginEnd(const RenderStyle* otherStyle = 0) const overri de final;
59 59
60 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedO ffset) const override final; 60 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedO ffset) const override final;
61 virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const overrid e; 61 virtual void absoluteQuads(Vector<FloatQuad>&) const override;
62 62
63 virtual LayoutSize offsetFromContainer(const RenderObject*, const LayoutPoin t&, bool* offsetDependsOnPoint = 0) const override final; 63 virtual LayoutSize offsetFromContainer(const RenderObject*, const LayoutPoin t&, bool* offsetDependsOnPoint = 0) const override final;
64 64
65 IntRect linesBoundingBox() const; 65 IntRect linesBoundingBox() const;
66 LayoutRect linesVisualOverflowBoundingBox() const; 66 LayoutRect linesVisualOverflowBoundingBox() const;
67 67
68 InlineFlowBox* createAndAppendInlineFlowBox(); 68 InlineFlowBox* createAndAppendInlineFlowBox();
69 69
70 void dirtyLineBoxes(bool fullLayout); 70 void dirtyLineBoxes(bool fullLayout);
71 void deleteLineBoxTree(); 71 void deleteLineBoxTree();
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 virtual LayoutUnit offsetLeft() const override final; 142 virtual LayoutUnit offsetLeft() const override final;
143 virtual LayoutUnit offsetTop() const override final; 143 virtual LayoutUnit offsetTop() const override final;
144 virtual LayoutUnit offsetWidth() const override final { return linesBounding Box().width(); } 144 virtual LayoutUnit offsetWidth() const override final { return linesBounding Box().width(); }
145 virtual LayoutUnit offsetHeight() const override final { return linesBoundin gBox().height(); } 145 virtual LayoutUnit offsetHeight() const override final { return linesBoundin gBox().height(); }
146 146
147 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons t override; 147 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons t override;
148 virtual LayoutRect rectWithOutlineForPaintInvalidation(const RenderLayerMode lObject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalid ationState* = 0) const override final; 148 virtual LayoutRect rectWithOutlineForPaintInvalidation(const RenderLayerMode lObject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalid ationState* = 0) const override final;
149 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const o verride final; 149 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const o verride final;
150 150
151 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = 0, const PaintInvalidationState* = 0) const override; 151 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, const PaintInvalidationState* = 0) const override;
152 152
153 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override f inal; 153 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override f inal;
154 154
155 virtual IntRect borderBoundingBox() const override final 155 virtual IntRect borderBoundingBox() const override final
156 { 156 {
157 IntRect boundingBox = linesBoundingBox(); 157 IntRect boundingBox = linesBoundingBox();
158 return IntRect(0, 0, boundingBox.width(), boundingBox.height()); 158 return IntRect(0, 0, boundingBox.width(), boundingBox.height());
159 } 159 }
160 160
161 virtual InlineFlowBox* createInlineFlowBox(); // Subclassed by SVG and Ruby 161 virtual InlineFlowBox* createInlineFlowBox(); // Subclassed by SVG and Ruby
(...skipping 19 matching lines...) Expand all
181 181
182 RenderObjectChildList m_children; 182 RenderObjectChildList m_children;
183 RenderLineBoxList m_lineBoxes; // All of the line boxes created for this i nline flow. For example, <i>Hello<br>world.</i> will have two <i> line boxes. 183 RenderLineBoxList m_lineBoxes; // All of the line boxes created for this i nline flow. For example, <i>Hello<br>world.</i> will have two <i> line boxes.
184 }; 184 };
185 185
186 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderInline, isRenderInline()); 186 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderInline, isRenderInline());
187 187
188 } // namespace blink 188 } // namespace blink
189 189
190 #endif // RenderInline_h 190 #endif // RenderInline_h
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderBoxModelObject.cpp ('k') | sky/engine/core/rendering/RenderInline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698