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

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

Issue 791023006: Delete invalidateTreeIfNeeded. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Remove unneeded call 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
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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 virtual InlineFlowBox* createInlineFlowBox(); // Subclassed by SVG and Ruby 142 virtual InlineFlowBox* createInlineFlowBox(); // Subclassed by SVG and Ruby
143 143
144 virtual void dirtyLinesFromChangedChild(RenderObject* child) override final { m_lineBoxes.dirtyLinesFromChangedChild(this, child); } 144 virtual void dirtyLinesFromChangedChild(RenderObject* child) override final { m_lineBoxes.dirtyLinesFromChangedChild(this, child); }
145 145
146 virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositio nMode = PositionOnContainingLine) const override final; 146 virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositio nMode = PositionOnContainingLine) const override final;
147 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode , LinePositionMode = PositionOnContainingLine) const override final; 147 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode , LinePositionMode = PositionOnContainingLine) const override final;
148 148
149 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&) overrid e final; 149 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&) overrid e final;
150 150
151 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) override fina l;
152
153 virtual void updateFromStyle() override final; 151 virtual void updateFromStyle() override final;
154 152
155 void paintOutlineForLine(GraphicsContext*, const LayoutPoint&, const LayoutR ect& prevLine, const LayoutRect& thisLine, 153 void paintOutlineForLine(GraphicsContext*, const LayoutPoint&, const LayoutR ect& prevLine, const LayoutRect& thisLine,
156 const LayoutRect& nextLine, const Color); 154 const LayoutRect& nextLine, const Color);
157 155
158 RenderObjectChildList m_children; 156 RenderObjectChildList m_children;
159 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. 157 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.
160 }; 158 };
161 159
162 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderInline, isRenderInline()); 160 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderInline, isRenderInline());
163 161
164 } // namespace blink 162 } // namespace blink
165 163
166 #endif // SKY_ENGINE_CORE_RENDERING_RENDERINLINE_H_ 164 #endif // SKY_ENGINE_CORE_RENDERING_RENDERINLINE_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderImageResource.cpp ('k') | sky/engine/core/rendering/RenderInline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698