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..d522479fb0dca78ff2ff7adc9495d0985cc82fa8 100644 |
--- a/third_party/WebKit/Source/core/editing/CompositionUnderline.h |
+++ b/third_party/WebKit/Source/core/editing/CompositionUnderline.h |
@@ -29,6 +29,7 @@ |
#include "core/CoreExport.h" |
#include "platform/graphics/Color.h" |
#include "wtf/Allocator.h" |
+#include <vector> |
namespace blink { |
@@ -41,12 +42,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 std::vector<std::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 std::vector<std::string>& suggestions() const { return m_suggestions; } |
private: |
unsigned m_startOffset; |
@@ -54,6 +62,7 @@ class CORE_EXPORT CompositionUnderline { |
Color m_color; |
bool m_thick; |
Color m_backgroundColor; |
+ std::vector<std::string> m_suggestions; |
esprehn
2017/01/31 22:41:34
no std:: in blink. This should be Vector<String>
rlanday
2017/01/31 23:30:09
Ok
|
}; |
} // namespace blink |