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

Unified Diff: Source/core/editing/markers/DocumentMarkerController.h

Issue 1325563002: Avoid style clobbering in setCompositionFromExistingText. (2nd land) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add new DocumentMarkerController test Created 5 years, 3 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: Source/core/editing/markers/DocumentMarkerController.h
diff --git a/Source/core/editing/markers/DocumentMarkerController.h b/Source/core/editing/markers/DocumentMarkerController.h
index b30e40571f46c2837a8ae89df2c9a707884088a3..6851ce42a40b28451bc519862e3400d272d02845 100644
--- a/Source/core/editing/markers/DocumentMarkerController.h
+++ b/Source/core/editing/markers/DocumentMarkerController.h
@@ -63,6 +63,7 @@ public:
void clear();
void addMarker(const Position& start, const Position& end, DocumentMarker::MarkerType, const String& description = emptyString(), uint32_t hash = 0);
void addTextMatchMarker(const Range*, bool activeMatch);
+ void addCompositionMarker(const Position& start, const Position& end, Color underlineColor, bool thick, Color backgroundColor);
void copyMarkers(Node* srcNode, unsigned startOffset, int length, Node* dstNode, int delta);

Powered by Google App Engine
This is Rietveld 408576698