Index: third_party/WebKit/Source/platform/LayoutLocale.h |
diff --git a/third_party/WebKit/Source/platform/LayoutLocale.h b/third_party/WebKit/Source/platform/LayoutLocale.h |
index f92811c82f863638acdac7285d8dfbdeb46b4c2e..66e9f1a838e227095ba8c9263c358acb52b02373 100644 |
--- a/third_party/WebKit/Source/platform/LayoutLocale.h |
+++ b/third_party/WebKit/Source/platform/LayoutLocale.h |
@@ -19,6 +19,8 @@ namespace blink { |
class Hyphenation; |
+enum class LineBreakIteratorMode { Default, Normal, Strict, Loose }; |
+ |
class PLATFORM_EXPORT LayoutLocale : public RefCounted<LayoutLocale> { |
public: |
static const LayoutLocale* get(const AtomicString& locale); |
@@ -57,6 +59,8 @@ class PLATFORM_EXPORT LayoutLocale : public RefCounted<LayoutLocale> { |
Hyphenation* getHyphenation() const; |
+ AtomicString localeWithBreakKeyword(LineBreakIteratorMode) const; |
+ |
static PassRefPtr<LayoutLocale> createForTesting(const AtomicString&); |
static void clearForTesting(); |
static void setHyphenationForTesting(const AtomicString&, |