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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 StyleableMarker::Thickness, | 65 StyleableMarker::Thickness, |
66 Color background_color); | 66 Color background_color); |
| 67 void AddActiveSuggestionMarker(const EphemeralRange&, |
| 68 Color underline_color, |
| 69 StyleableMarker::Thickness, |
| 70 Color background_color); |
67 | 71 |
68 void MoveMarkers(Node* src_node, int length, Node* dst_node); | 72 void MoveMarkers(Node* src_node, int length, Node* dst_node); |
69 | 73 |
70 void PrepareForDestruction(); | 74 void PrepareForDestruction(); |
71 void RemoveMarkersInRange(const EphemeralRange&, DocumentMarker::MarkerTypes); | 75 void RemoveMarkersInRange(const EphemeralRange&, DocumentMarker::MarkerTypes); |
72 void RemoveMarkersOfTypes(DocumentMarker::MarkerTypes); | 76 void RemoveMarkersOfTypes(DocumentMarker::MarkerTypes); |
73 void RemoveMarkersForNode( | 77 void RemoveMarkersForNode( |
74 Node*, | 78 Node*, |
75 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); | 79 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); |
76 void RemoveSpellingMarkersUnderWords(const Vector<String>& words); | 80 void RemoveSpellingMarkersUnderWords(const Vector<String>& words); |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 const Member<const Document> document_; | 140 const Member<const Document> document_; |
137 }; | 141 }; |
138 | 142 |
139 } // namespace blink | 143 } // namespace blink |
140 | 144 |
141 #ifndef NDEBUG | 145 #ifndef NDEBUG |
142 void showDocumentMarkers(const blink::DocumentMarkerController*); | 146 void showDocumentMarkers(const blink::DocumentMarkerController*); |
143 #endif | 147 #endif |
144 | 148 |
145 #endif // DocumentMarkerController_h | 149 #endif // DocumentMarkerController_h |
OLD | NEW |