OLD | NEW |
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 Color underline_color, | 73 Color underline_color, |
74 bool thick, | 74 bool thick, |
75 Color background_color); | 75 Color background_color); |
76 | 76 |
77 void MoveMarkers(Node* src_node, int length, Node* dst_node); | 77 void MoveMarkers(Node* src_node, int length, Node* dst_node); |
78 | 78 |
79 void PrepareForDestruction(); | 79 void PrepareForDestruction(); |
80 void RemoveMarkersInRange(const EphemeralRange&, DocumentMarker::MarkerTypes); | 80 void RemoveMarkersInRange(const EphemeralRange&, DocumentMarker::MarkerTypes); |
81 void RemoveMarkers( | 81 void RemoveMarkers( |
82 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); | 82 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); |
83 void RemoveMarkers( | 83 void RemoveMarkersForNode( |
84 Node*, | 84 Node*, |
85 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); | 85 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); |
86 void RemoveMarkers(const MarkerRemoverPredicate& should_remove_marker); | 86 void RemoveMarkers(const MarkerRemoverPredicate& should_remove_marker); |
87 void RepaintMarkers( | 87 void RepaintMarkers( |
88 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); | 88 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); |
89 // Returns true if markers within a range are found. | 89 // Returns true if markers within a range are found. |
90 bool SetMarkersActive(const EphemeralRange&, bool); | 90 bool SetMarkersActive(const EphemeralRange&, bool); |
91 // Returns true if markers within a range defined by a node, |startOffset| and | 91 // Returns true if markers within a range defined by a node, |startOffset| and |
92 // |endOffset| are found. | 92 // |endOffset| are found. |
93 bool SetMarkersActive(Node*, | 93 bool SetMarkersActive(Node*, |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 const Member<const Document> document_; | 143 const Member<const Document> document_; |
144 }; | 144 }; |
145 | 145 |
146 } // namespace blink | 146 } // namespace blink |
147 | 147 |
148 #ifndef NDEBUG | 148 #ifndef NDEBUG |
149 void showDocumentMarkers(const blink::DocumentMarkerController*); | 149 void showDocumentMarkers(const blink::DocumentMarkerController*); |
150 #endif | 150 #endif |
151 | 151 |
152 #endif // DocumentMarkerController_h | 152 #endif // DocumentMarkerController_h |
OLD | NEW |