| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> | 2  * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> | 
| 3  * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. | 3  * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. | 
| 4  * Copyright (C) 2008 Rob Buis <buis@kde.org> | 4  * Copyright (C) 2008 Rob Buis <buis@kde.org> | 
| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 42 | 42 | 
| 43     float scalingFactor() const { return m_scalingFactor; } | 43     float scalingFactor() const { return m_scalingFactor; } | 
| 44     const Font& scaledFont() const { return m_scaledFont; } | 44     const Font& scaledFont() const { return m_scaledFont; } | 
| 45     void updateScaledFont(); | 45     void updateScaledFont(); | 
| 46     static void computeNewScaledFontForStyle(RenderObject*, const RenderStyle*, 
    float& scalingFactor, Font& scaledFont); | 46     static void computeNewScaledFontForStyle(RenderObject*, const RenderStyle*, 
    float& scalingFactor, Font& scaledFont); | 
| 47 | 47 | 
| 48 private: | 48 private: | 
| 49     virtual const char* renderName() const { return "RenderSVGInlineText"; } | 49     virtual const char* renderName() const { return "RenderSVGInlineText"; } | 
| 50 | 50 | 
| 51     virtual void willBeDestroyed(); | 51     virtual void willBeDestroyed(); | 
|  | 52 | 
|  | 53     virtual void setStyle(PassRefPtr<RenderStyle>); | 
| 52     virtual void styleDidChange(StyleDifference, const RenderStyle*); | 54     virtual void styleDidChange(StyleDifference, const RenderStyle*); | 
| 53 | 55 | 
| 54     // FIXME: We need objectBoundingBox for DRT results and filters at the momen
    t. | 56     // FIXME: We need objectBoundingBox for DRT results and filters at the momen
    t. | 
| 55     // This should be fixed to give back the objectBoundingBox of the text root. | 57     // This should be fixed to give back the objectBoundingBox of the text root. | 
| 56     virtual FloatRect objectBoundingBox() const { return FloatRect(); } | 58     virtual FloatRect objectBoundingBox() const { return FloatRect(); } | 
| 57 | 59 | 
| 58     virtual bool requiresLayer() const { return false; } | 60     virtual bool requiresLayer() const { return false; } | 
| 59     virtual bool isSVGInlineText() const { return true; } | 61     virtual bool isSVGInlineText() const { return true; } | 
| 60 | 62 | 
| 61     virtual VisiblePosition positionForPoint(const LayoutPoint&); | 63     virtual VisiblePosition positionForPoint(const LayoutPoint&); | 
| (...skipping 18 matching lines...) Expand all  Loading... | 
| 80     return static_cast<const RenderSVGInlineText*>(object); | 82     return static_cast<const RenderSVGInlineText*>(object); | 
| 81 } | 83 } | 
| 82 | 84 | 
| 83 // This will catch anyone doing an unnecessary cast. | 85 // This will catch anyone doing an unnecessary cast. | 
| 84 void toRenderSVGInlineText(const RenderSVGInlineText*); | 86 void toRenderSVGInlineText(const RenderSVGInlineText*); | 
| 85 | 87 | 
| 86 } | 88 } | 
| 87 | 89 | 
| 88 #endif // ENABLE(SVG) | 90 #endif // ENABLE(SVG) | 
| 89 #endif // RenderSVGInlineText_h | 91 #endif // RenderSVGInlineText_h | 
| OLD | NEW | 
|---|