Index: Source/core/rendering/InlineTextBox.h |
diff --git a/Source/core/rendering/InlineTextBox.h b/Source/core/rendering/InlineTextBox.h |
index e2db766e70651e7a02db6eeb35644edb2025e861..bee808cd75fac9d2a89721f534c01af021b07f94 100644 |
--- a/Source/core/rendering/InlineTextBox.h |
+++ b/Source/core/rendering/InlineTextBox.h |
@@ -31,8 +31,10 @@ |
namespace WebCore { |
+class AppliedTextDecoration; |
struct CompositionUnderline; |
class DocumentMarker; |
+struct PaintAppliedDecorationData; |
const unsigned short cNoTruncation = USHRT_MAX; |
const unsigned short cFullTruncation = USHRT_MAX - 1; |
@@ -185,7 +187,9 @@ protected: |
virtual void paintTextMatchMarker(GraphicsContext*, const FloatPoint& boxOrigin, DocumentMarker*, RenderStyle*, const Font&); |
private: |
- void paintDecoration(GraphicsContext*, const FloatPoint& boxOrigin, TextDecoration, const ShadowList*); |
+ int computeUnderlineOffset(RenderStyle*, float textDecorationThickness); |
+ void paintAppliedDecoration(GraphicsContext*, const RenderObject::ResolvedDecoration&, const PaintAppliedDecorationData&); |
+ void paintDecoration(GraphicsContext*, const FloatPoint& boxOrigin, RenderStyle*, const ShadowList*); |
void paintSelection(GraphicsContext*, const FloatPoint& boxOrigin, RenderStyle*, const Font&, Color textColor); |
TextRun::ExpansionBehavior expansionBehavior() const |