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 22 matching lines...) Expand all Loading... |
33 #include "core/editing/iterators/TextIterator.h" | 33 #include "core/editing/iterators/TextIterator.h" |
34 #include "core/editing/markers/DocumentMarker.h" | 34 #include "core/editing/markers/DocumentMarker.h" |
35 #include "platform/geometry/IntRect.h" | 35 #include "platform/geometry/IntRect.h" |
36 #include "platform/heap/Handle.h" | 36 #include "platform/heap/Handle.h" |
37 #include "wtf/HashMap.h" | 37 #include "wtf/HashMap.h" |
38 #include "wtf/Vector.h" | 38 #include "wtf/Vector.h" |
39 | 39 |
40 namespace blink { | 40 namespace blink { |
41 | 41 |
42 class Node; | 42 class Node; |
43 class Range; | |
44 class RenderedDocumentMarker; | 43 class RenderedDocumentMarker; |
45 class Text; | 44 class Text; |
46 | 45 |
47 class MarkerRemoverPredicate final { | 46 class MarkerRemoverPredicate final { |
48 public: | 47 public: |
49 explicit MarkerRemoverPredicate(const Vector<String>& words); | 48 explicit MarkerRemoverPredicate(const Vector<String>& words); |
50 bool operator()(const DocumentMarker&, const Text&) const; | 49 bool operator()(const DocumentMarker&, const Text&) const; |
51 | 50 |
52 private: | 51 private: |
53 Vector<String> m_words; | 52 Vector<String> m_words; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 const Member<const Document> m_document; | 152 const Member<const Document> m_document; |
154 }; | 153 }; |
155 | 154 |
156 } // namespace blink | 155 } // namespace blink |
157 | 156 |
158 #ifndef NDEBUG | 157 #ifndef NDEBUG |
159 void showDocumentMarkers(const blink::DocumentMarkerController*); | 158 void showDocumentMarkers(const blink::DocumentMarkerController*); |
160 #endif | 159 #endif |
161 | 160 |
162 #endif // DocumentMarkerController_h | 161 #endif // DocumentMarkerController_h |
OLD | NEW |