Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Unified Diff: third_party/WebKit/Source/core/editing/CompositionUnderline.h

Issue 2611813002: Add support for persisting CompositionUnderlines in InputMethodController (Closed)
Patch Set: Try one more time Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..a1a9251758bbcbf122d7493f64b598cb48e9fc93 100644
--- a/third_party/WebKit/Source/core/editing/CompositionUnderline.h
+++ b/third_party/WebKit/Source/core/editing/CompositionUnderline.h
@@ -40,13 +40,15 @@ class CORE_EXPORT CompositionUnderline {
unsigned endOffset,
const Color&,
bool thick,
- const Color& backgroundColor);
+ const Color& backgroundColor,
+ bool persist);
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; }
+ bool persist() const { return m_persist; }
private:
unsigned m_startOffset;
@@ -54,6 +56,7 @@ class CORE_EXPORT CompositionUnderline {
Color m_color;
bool m_thick;
Color m_backgroundColor;
+ bool m_persist;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698