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

Unified Diff: third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.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/markers/DocumentMarkerController.h
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h
index 8a4ecdc4eaadabfe8eabb428b13a5cf62c0f0468..2fd0cbe6ee5bf035aa9c7b44f29a5f69f8cc02de 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h
@@ -70,7 +70,8 @@ class CORE_EXPORT DocumentMarkerController final
const Position& end,
Color underlineColor,
bool thick,
- Color backgroundColor);
+ Color backgroundColor,
+ bool persist);
void copyMarkers(Node* srcNode,
unsigned startOffset,
@@ -106,7 +107,7 @@ class CORE_EXPORT DocumentMarkerController final
void removeMarkers(const MarkerRemoverPredicate& shouldRemoveMarker);
void repaintMarkers(
DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers());
- void shiftMarkers(Node*, unsigned startOffset, int delta);
+ void shiftMarkers(Node*, int startOffset, int prevLength, int newLength);
// Returns true if markers within a range are found.
bool setMarkersActive(const EphemeralRange&, bool);
// Returns true if markers within a range defined by a node, |startOffset| and

Powered by Google App Engine
This is Rietveld 408576698