| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 bool HasMarkers(Node* node) const { return markers_.Contains(node); } | 87 bool HasMarkers(Node* node) const { return markers_.Contains(node); } |
| 88 | 88 |
| 89 // Returns a marker of one of the specified types that includes the specified | 89 // Returns a marker of one of the specified types that includes the specified |
| 90 // Position in its interior (not at an endpoint), if one exists. | 90 // Position in its interior (not at an endpoint), if one exists. |
| 91 DocumentMarker* MarkerAtPosition(const Position&, | 91 DocumentMarker* MarkerAtPosition(const Position&, |
| 92 DocumentMarker::MarkerTypes); | 92 DocumentMarker::MarkerTypes); |
| 93 DocumentMarkerVector MarkersFor( | 93 DocumentMarkerVector MarkersFor( |
| 94 Node*, | 94 Node*, |
| 95 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); | 95 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); |
| 96 DocumentMarkerVector Markers(); | 96 DocumentMarkerVector Markers(); |
| 97 Vector<IntRect> RenderedRectsForTextMatchMarkers(); | 97 Vector<IntRect> LayoutRectsForTextMatchMarkers(); |
| 98 void InvalidateRectsForAllTextMatchMarkers(); | 98 void InvalidateRectsForAllTextMatchMarkers(); |
| 99 void InvalidateRectsForTextMatchMarkersInNode(const Node&); | 99 void InvalidateRectsForTextMatchMarkersInNode(const Node&); |
| 100 | 100 |
| 101 DECLARE_TRACE(); | 101 DECLARE_TRACE(); |
| 102 | 102 |
| 103 #ifndef NDEBUG | 103 #ifndef NDEBUG |
| 104 void ShowMarkers() const; | 104 void ShowMarkers() const; |
| 105 #endif | 105 #endif |
| 106 | 106 |
| 107 // SynchronousMutationObserver | 107 // SynchronousMutationObserver |
| (...skipping 28 matching lines...) Expand all 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 |