Index: third_party/WebKit/Source/core/editing/CompositionUnderline.h |
diff --git a/third_party/WebKit/Source/core/editing/CompositionUnderline.h b/third_party/WebKit/Source/core/editing/CompositionUnderline.h |
index fc91fe8ddff087310907d68d21b4d6e1a0c924f1..edc07f8c2ff04437567942b3308a3b7be7494e69 100644 |
--- a/third_party/WebKit/Source/core/editing/CompositionUnderline.h |
+++ b/third_party/WebKit/Source/core/editing/CompositionUnderline.h |
@@ -41,12 +41,19 @@ class CORE_EXPORT CompositionUnderline { |
const Color&, |
bool thick, |
const Color& backgroundColor); |
+ CompositionUnderline(unsigned startOffset, |
+ unsigned endOffset, |
+ const Color&, |
+ bool thick, |
+ const Color& backgroundColor, |
+ const Vector<String>& suggestions); |
unsigned startOffset() const { return m_startOffset; } |
unsigned endOffset() const { return m_endOffset; } |
const Color& color() const { return m_color; } |
bool thick() const { return m_thick; } |
const Color& backgroundColor() const { return m_backgroundColor; } |
+ const Vector<String>& suggestions() const { return m_suggestions; } |
private: |
unsigned m_startOffset; |
@@ -54,6 +61,9 @@ class CORE_EXPORT CompositionUnderline { |
Color m_color; |
bool m_thick; |
Color m_backgroundColor; |
+ Vector<String> m_suggestions; |
+ |
+ friend class CompositionUnderlineBuilder; |
}; |
} // namespace blink |