1,295
edits
No edit summary |
|||
| Line 21: | Line 21: | ||
/* aBreakBefore points to mLength + 1 bytes, set to PR_TRUE if we can | /* aBreakBefore points to mLength + 1 bytes, set to PR_TRUE if we can | ||
break *before* the corresponding character of mText. This gets called | break *before* the corresponding character of mText. This gets called | ||
only if mNeedBreakData is true. */ | only if mNeedBreakData is true. | ||
virtual void SetBreaks( | The intent is that layout will subclass TextChunk and override | ||
SetBreaks to store the break data into the textrun object associated | |||
with this text chunk. | |||
*/ | |||
virtual void SetBreaks(PRPackedBool* aBreakBefore) = 0; | |||
}; | }; | ||
edits