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

Unified Diff: third_party/WebKit/Source/core/editing/markers/DocumentMarker.h

Issue 2766003002: Add DocumentMarker::createCompositionMarker() (Closed)
Patch Set: Rebase Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
index 6952d56a9d35a1238035f1fb2e0e377ad0d1f18c..fc728b97d4b5713a9e0a3e4443f768542a779dcd 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
@@ -136,15 +136,15 @@ class CORE_EXPORT DocumentMarker : public GarbageCollected<DocumentMarker> {
virtual DocumentMarker* clone() const;
+ static DocumentMarker* createCompositionMarker(unsigned startOffset,
+ unsigned endOffset,
+ Color underlineColor,
+ bool thick,
+ Color backgroundColor);
DocumentMarker(MarkerType,
unsigned startOffset,
unsigned endOffset,
const String& description);
- DocumentMarker(unsigned startOffset,
- unsigned endOffset,
- Color underlineColor,
- bool thick,
- Color backgroundColor);
MarkerType type() const { return m_type; }
unsigned startOffset() const { return m_startOffset; }
@@ -190,6 +190,11 @@ class CORE_EXPORT DocumentMarker : public GarbageCollected<DocumentMarker> {
DocumentMarker(unsigned startOffset, unsigned endOffset, bool activeMatch);
private:
+ DocumentMarker(MarkerType,
+ unsigned startOffset,
+ unsigned endOffset,
+ DocumentMarkerDetails*);
+
MarkerType m_type;
unsigned m_startOffset;
unsigned m_endOffset;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698