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

Side by Side Diff: third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h

Issue 2836563002: [DMC #1.913] Rename DocumentMarkerController::RemoveMarkers() to RemoveMarkersOfTypes() (Closed)
Patch Set: Rebase Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
7 * reserved. 7 * reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 10 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 void AddCompositionMarker(const Position& start, 61 void AddCompositionMarker(const Position& start,
62 const Position& end, 62 const Position& end,
63 Color underline_color, 63 Color underline_color,
64 bool thick, 64 bool thick,
65 Color background_color); 65 Color background_color);
66 66
67 void MoveMarkers(Node* src_node, int length, Node* dst_node); 67 void MoveMarkers(Node* src_node, int length, Node* dst_node);
68 68
69 void PrepareForDestruction(); 69 void PrepareForDestruction();
70 void RemoveMarkersInRange(const EphemeralRange&, DocumentMarker::MarkerTypes); 70 void RemoveMarkersInRange(const EphemeralRange&, DocumentMarker::MarkerTypes);
71 void RemoveMarkers( 71 void RemoveMarkersOfTypes(DocumentMarker::MarkerTypes);
72 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers());
73 void RemoveMarkersForNode( 72 void RemoveMarkersForNode(
74 Node*, 73 Node*,
75 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); 74 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers());
76 void RemoveSpellingMarkersUnderWords(const Vector<String>& words); 75 void RemoveSpellingMarkersUnderWords(const Vector<String>& words);
77 void RepaintMarkers( 76 void RepaintMarkers(
78 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); 77 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers());
79 // Returns true if markers within a range are found. 78 // Returns true if markers within a range are found.
80 bool SetMarkersActive(const EphemeralRange&, bool); 79 bool SetMarkersActive(const EphemeralRange&, bool);
81 // Returns true if markers within a range defined by a node, |startOffset| and 80 // Returns true if markers within a range defined by a node, |startOffset| and
82 // |endOffset| are found. 81 // |endOffset| are found.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 const Member<const Document> document_; 132 const Member<const Document> document_;
134 }; 133 };
135 134
136 } // namespace blink 135 } // namespace blink
137 136
138 #ifndef NDEBUG 137 #ifndef NDEBUG
139 void showDocumentMarkers(const blink::DocumentMarkerController*); 138 void showDocumentMarkers(const blink::DocumentMarkerController*);
140 #endif 139 #endif
141 140
142 #endif // DocumentMarkerController_h 141 #endif // DocumentMarkerController_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698