Index: third_party/WebKit/Source/core/layout/LayoutListMarker.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutListMarker.h b/third_party/WebKit/Source/core/layout/LayoutListMarker.h |
index b670812362ea94e0c25ebff080d534835c1fd67e..d96806fa50577480bb4dbe23e02238224fb54052 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutListMarker.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutListMarker.h |
@@ -40,6 +40,16 @@ public: |
const String& text() const { return m_text; } |
+ // A reduced set of list style categories allowing for more concise expression |
+ // of list style specific logic. |
+ enum ListStyleCategory { |
+ NoneListCategory, |
+ SymbolListCategory, |
+ LanguageListCategory |
+ }; |
+ |
+ // Returns the list's style as one of a reduced high level categorical set of styles. |
+ ListStyleCategory listStyleCategory() const; |
bool isInside() const; |
void updateMarginsAndContent(); |
@@ -83,6 +93,7 @@ private: |
LayoutRect selectionRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer) const override; |
bool canBeSelectionLeaf() const override { return true; } |
+ LayoutUnit getWidthOfTextWithSuffix(UChar* suffix, int suffixLength) const; |
void updateMargins(); |
void updateContent(); |