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

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

Issue 823123003: Delete PaintInvalidationState. It's unused. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: proper diff Created 5 years, 11 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
« no previous file with comments | « sky/engine/core/rendering/RenderBox.cpp ('k') | sky/engine/core/rendering/RenderInline.cpp » ('j') | 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) 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
121 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion) override final; 121 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion) override final;
122 122
123 virtual LayerType layerTypeRequired() const override { return isRelPositione d() || createsGroup() || hasClipPath() ? NormalLayer : NoLayer; } 123 virtual LayerType layerTypeRequired() const override { return isRelPositione d() || createsGroup() || hasClipPath() ? NormalLayer : NoLayer; }
124 124
125 virtual LayoutUnit offsetLeft() const override final; 125 virtual LayoutUnit offsetLeft() const override final;
126 virtual LayoutUnit offsetTop() const override final; 126 virtual LayoutUnit offsetTop() const override final;
127 virtual LayoutUnit offsetWidth() const override final { return linesBounding Box().width(); } 127 virtual LayoutUnit offsetWidth() const override final { return linesBounding Box().width(); }
128 virtual LayoutUnit offsetHeight() const override final { return linesBoundin gBox().height(); } 128 virtual LayoutUnit offsetHeight() const override final { return linesBoundin gBox().height(); }
129 129
130 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, const PaintInvalidationState* = 0) const override; 130 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip) const override;
131 131
132 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override f inal; 132 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override f inal;
133 133
134 virtual IntRect borderBoundingBox() const override final 134 virtual IntRect borderBoundingBox() const override final
135 { 135 {
136 IntRect boundingBox = linesBoundingBox(); 136 IntRect boundingBox = linesBoundingBox();
137 return IntRect(0, 0, boundingBox.width(), boundingBox.height()); 137 return IntRect(0, 0, boundingBox.width(), boundingBox.height());
138 } 138 }
139 139
140 virtual InlineFlowBox* createInlineFlowBox(); // Subclassed by SVG and Ruby 140 virtual InlineFlowBox* createInlineFlowBox(); // Subclassed by SVG and Ruby
(...skipping 12 matching lines...) Expand all
153 153
154 RenderObjectChildList m_children; 154 RenderObjectChildList m_children;
155 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. 155 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.
156 }; 156 };
157 157
158 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderInline, isRenderInline()); 158 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderInline, isRenderInline());
159 159
160 } // namespace blink 160 } // namespace blink
161 161
162 #endif // SKY_ENGINE_CORE_RENDERING_RENDERINLINE_H_ 162 #endif // SKY_ENGINE_CORE_RENDERING_RENDERINLINE_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderBox.cpp ('k') | sky/engine/core/rendering/RenderInline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698