Chromium Code Reviews| Index: Source/platform/graphics/TextRun.h |
| diff --git a/Source/platform/graphics/TextRun.h b/Source/platform/graphics/TextRun.h |
| index 81657d3b12a370d2e24657a3e2bc5bcf73d9f91c..a3029a9db195c6ad9906b57d8937afeb64122866 100644 |
| --- a/Source/platform/graphics/TextRun.h |
| +++ b/Source/platform/graphics/TextRun.h |
| @@ -196,6 +196,8 @@ public: |
| float xPos() const { return m_xpos; } |
| void setXPos(float xPos) { m_xpos = xPos; } |
| float expansion() const { return m_expansion; } |
| + bool isDistributeJustification() const { return m_distributeJustification; } |
| + void setDistributeJustification(bool distributeJustification) { m_distributeJustification = distributeJustification; } |
| bool allowsLeadingExpansion() const { return m_expansionBehavior & AllowLeadingExpansion; } |
| bool allowsTrailingExpansion() const { return m_expansionBehavior & AllowTrailingExpansion; } |
| TextDirection direction() const { return static_cast<TextDirection>(m_direction); } |
| @@ -245,6 +247,7 @@ private: |
| float m_horizontalGlyphStretch; |
| float m_expansion; |
| + bool m_distributeJustification; |
|
leviw_travelin_and_unemployed
2013/11/01 20:39:14
Pack this along with the other bits below, otherwi
dw.im
2013/11/02 03:13:01
will do like this.
+ unsigned m_distributeJustific
dw.im
2013/11/04 02:11:09
Done.. as bool m_distributeJustification : 1;
|
| ExpansionBehavior m_expansionBehavior : 2; |
| unsigned m_is8Bit : 1; |
| unsigned m_allowTabs : 1; |