Changeset 21093 for trunk/WebCore/rendering/RenderText.h
- Timestamp:
- 04/25/07 12:10:24 (21 months ago)
- Files:
-
- 1 modified
-
trunk/WebCore/rendering/RenderText.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/rendering/RenderText.h
r21079 r21093 76 76 virtual short lineHeight(bool firstLine, bool isRootLineBox = false) const; 77 77 78 virtual void calcPrefWidths(); 79 virtual int minPrefWidth() const { return m_minWidth; } 80 virtual int maxPrefWidth() const { return m_maxWidth; } 78 virtual int minPrefWidth() const; 79 virtual int maxPrefWidth() const; 81 80 82 81 void trimmedPrefWidths(int leadWidth, … … 130 129 protected: 131 130 void setTextInternal(PassRefPtr<StringImpl>); 131 virtual void calcPrefWidths(int leadWidth); 132 132 133 133 private: … … 139 139 void deleteTextBoxes(); 140 140 bool containsOnlyWhitespace(unsigned from, unsigned len) const; 141 void calcPrefWidthsInternal(int leadWidth);142 143 141 int widthFromCache(const Font&, int start, int len, int xPos) const; 144 142 bool isAllASCII() const { return m_isAllASCII; }