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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 explicit DocumentMarkerController(Document&); | 55 explicit DocumentMarkerController(Document&); |
56 | 56 |
57 void Clear(); | 57 void Clear(); |
58 void AddSpellingMarker(const EphemeralRange&, | 58 void AddSpellingMarker(const EphemeralRange&, |
59 const String& description = g_empty_string); | 59 const String& description = g_empty_string); |
60 void AddGrammarMarker(const EphemeralRange&, | 60 void AddGrammarMarker(const EphemeralRange&, |
61 const String& description = g_empty_string); | 61 const String& description = g_empty_string); |
62 void AddTextMatchMarker(const EphemeralRange&, TextMatchMarker::MatchStatus); | 62 void AddTextMatchMarker(const EphemeralRange&, TextMatchMarker::MatchStatus); |
63 void AddCompositionMarker(const EphemeralRange&, | 63 void AddCompositionMarker(const EphemeralRange&, |
64 Color underline_color, | 64 Color underline_color, |
65 CompositionMarker::Thickness, | 65 StyleableMarker::Thickness, |
66 Color background_color); | 66 Color background_color); |
67 | 67 |
68 void MoveMarkers(Node* src_node, int length, Node* dst_node); | 68 void MoveMarkers(Node* src_node, int length, Node* dst_node); |
69 | 69 |
70 void PrepareForDestruction(); | 70 void PrepareForDestruction(); |
71 void RemoveMarkersInRange(const EphemeralRange&, DocumentMarker::MarkerTypes); | 71 void RemoveMarkersInRange(const EphemeralRange&, DocumentMarker::MarkerTypes); |
72 void RemoveMarkersOfTypes(DocumentMarker::MarkerTypes); | 72 void RemoveMarkersOfTypes(DocumentMarker::MarkerTypes); |
73 void RemoveMarkersForNode( | 73 void RemoveMarkersForNode( |
74 Node*, | 74 Node*, |
75 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); | 75 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 const Member<const Document> document_; | 136 const Member<const Document> document_; |
137 }; | 137 }; |
138 | 138 |
139 } // namespace blink | 139 } // namespace blink |
140 | 140 |
141 #ifndef NDEBUG | 141 #ifndef NDEBUG |
142 void showDocumentMarkers(const blink::DocumentMarkerController*); | 142 void showDocumentMarkers(const blink::DocumentMarkerController*); |
143 #endif | 143 #endif |
144 | 144 |
145 #endif // DocumentMarkerController_h | 145 #endif // DocumentMarkerController_h |
OLD | NEW |