| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 USING_GARBAGE_COLLECTED_MIXIN(DocumentMarkerController); | 59 USING_GARBAGE_COLLECTED_MIXIN(DocumentMarkerController); |
| 60 | 60 |
| 61 public: | 61 public: |
| 62 explicit DocumentMarkerController(Document&); | 62 explicit DocumentMarkerController(Document&); |
| 63 | 63 |
| 64 void clear(); | 64 void clear(); |
| 65 void addMarker(const Position& start, | 65 void addMarker(const Position& start, |
| 66 const Position& end, | 66 const Position& end, |
| 67 DocumentMarker::MarkerType, | 67 DocumentMarker::MarkerType, |
| 68 const String& description = emptyString); | 68 const String& description = emptyString); |
| 69 void addTextMatchMarker(const EphemeralRange&, bool activeMatch); | 69 void addTextMatchMarker(const EphemeralRange&, DocumentMarker::MatchStatus); |
| 70 void addCompositionMarker(const Position& start, | 70 void addCompositionMarker(const Position& start, |
| 71 const Position& end, | 71 const Position& end, |
| 72 Color underlineColor, | 72 Color underlineColor, |
| 73 bool thick, | 73 bool thick, |
| 74 Color backgroundColor); | 74 Color backgroundColor); |
| 75 | 75 |
| 76 void copyMarkers(Node* srcNode, | 76 void copyMarkers(Node* srcNode, |
| 77 unsigned startOffset, | 77 unsigned startOffset, |
| 78 int length, | 78 int length, |
| 79 Node* dstNode, | 79 Node* dstNode, |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 const Member<const Document> m_document; | 159 const Member<const Document> m_document; |
| 160 }; | 160 }; |
| 161 | 161 |
| 162 } // namespace blink | 162 } // namespace blink |
| 163 | 163 |
| 164 #ifndef NDEBUG | 164 #ifndef NDEBUG |
| 165 void showDocumentMarkers(const blink::DocumentMarkerController*); | 165 void showDocumentMarkers(const blink::DocumentMarkerController*); |
| 166 #endif | 166 #endif |
| 167 | 167 |
| 168 #endif // DocumentMarkerController_h | 168 #endif // DocumentMarkerController_h |
| OLD | NEW |