summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/RenderBR.h
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:05:15 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:05:15 -0800
commit1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch)
tree4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebCore/rendering/RenderBR.h
parent9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff)
downloadexternal_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip
external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz
external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'WebCore/rendering/RenderBR.h')
-rw-r--r--WebCore/rendering/RenderBR.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/WebCore/rendering/RenderBR.h b/WebCore/rendering/RenderBR.h
index c5ce42b..b65bb58 100644
--- a/WebCore/rendering/RenderBR.h
+++ b/WebCore/rendering/RenderBR.h
@@ -45,9 +45,8 @@ public:
virtual unsigned width(unsigned /*from*/, unsigned /*len*/, const Font&, int /*xpos*/) const { return 0; }
virtual unsigned width(unsigned /*from*/, unsigned /*len*/, int /*xpos*/, bool /*firstLine = false*/) const { return 0; }
- virtual short lineHeight(bool firstLine, bool isRootLineBox = false) const;
- virtual short baselinePosition(bool firstLine, bool isRootLineBox = false) const;
- virtual void setStyle(RenderStyle*);
+ virtual int lineHeight(bool firstLine, bool isRootLineBox = false) const;
+ virtual int baselinePosition(bool firstLine, bool isRootLineBox = false) const;
// overrides
virtual InlineBox* createInlineBox(bool, bool, bool isOnlyRun = false);
@@ -60,10 +59,11 @@ public:
virtual VisiblePosition positionForCoordinates(int x, int y);
- virtual InlineBox* inlineBox(int offset, EAffinity = UPSTREAM);
+protected:
+ virtual void styleDidChange(RenderStyle::Diff, const RenderStyle* oldStyle);
private:
- mutable short m_lineHeight;
+ mutable int m_lineHeight;
};
} // namespace WebCore