| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 void AddTextMatchMarker(const EphemeralRange&, DocumentMarker::MatchStatus); | 70 void AddTextMatchMarker(const EphemeralRange&, DocumentMarker::MatchStatus); |
| 71 void AddCompositionMarker(const Position& start, | 71 void AddCompositionMarker(const Position& start, |
| 72 const Position& end, | 72 const Position& end, |
| 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 RemoveMarkers( | 80 void RemoveMarkersInRange(const EphemeralRange&, DocumentMarker::MarkerTypes); |
| 81 const EphemeralRange&, | |
| 82 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); | |
| 83 void RemoveMarkers( | 81 void RemoveMarkers( |
| 84 Node*, | 82 Node*, |
| 85 unsigned start_offset, | 83 unsigned start_offset, |
| 86 int length, | 84 int length, |
| 87 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); | 85 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); |
| 88 void RemoveMarkers( | 86 void RemoveMarkers( |
| 89 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); | 87 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); |
| 90 void RemoveMarkers( | 88 void RemoveMarkers( |
| 91 Node*, | 89 Node*, |
| 92 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); | 90 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 const Member<const Document> document_; | 144 const Member<const Document> document_; |
| 147 }; | 145 }; |
| 148 | 146 |
| 149 } // namespace blink | 147 } // namespace blink |
| 150 | 148 |
| 151 #ifndef NDEBUG | 149 #ifndef NDEBUG |
| 152 void showDocumentMarkers(const blink::DocumentMarkerController*); | 150 void showDocumentMarkers(const blink::DocumentMarkerController*); |
| 153 #endif | 151 #endif |
| 154 | 152 |
| 155 #endif // DocumentMarkerController_h | 153 #endif // DocumentMarkerController_h |
| OLD | NEW |