| 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 
     reserved. | 6  * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights 
     reserved. | 
| 7  * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
     orchmobile.com/) | 7  * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
     orchmobile.com/) | 
| 8  * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 8  * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 
| 9  * | 9  * | 
| 10  * This library is free software; you can redistribute it and/or | 10  * This library is free software; you can redistribute it and/or | 
| (...skipping 26 matching lines...) Expand all  Loading... | 
| 37 | 37 | 
| 38 class LayoutPoint; | 38 class LayoutPoint; | 
| 39 class LayoutRect; | 39 class LayoutRect; | 
| 40 class Node; | 40 class Node; | 
| 41 class Position; | 41 class Position; | 
| 42 class Range; | 42 class Range; | 
| 43 class RenderedDocumentMarker; | 43 class RenderedDocumentMarker; | 
| 44 class Text; | 44 class Text; | 
| 45 class TextIterator; | 45 class TextIterator; | 
| 46 | 46 | 
| 47 class MarkerRemoverPredicate FINAL { | 47 class MarkerRemoverPredicate final { | 
| 48 public: | 48 public: | 
| 49     explicit MarkerRemoverPredicate(const Vector<String>& words); | 49     explicit MarkerRemoverPredicate(const Vector<String>& words); | 
| 50     bool operator()(const DocumentMarker&, const Text&) const; | 50     bool operator()(const DocumentMarker&, const Text&) const; | 
| 51 | 51 | 
| 52 private: | 52 private: | 
| 53     Vector<String> m_words; | 53     Vector<String> m_words; | 
| 54 }; | 54 }; | 
| 55 | 55 | 
| 56 class DocumentMarkerController FINAL : public NoBaseWillBeGarbageCollected<Docum
     entMarkerController> { | 56 class DocumentMarkerController final : public NoBaseWillBeGarbageCollected<Docum
     entMarkerController> { | 
| 57     WTF_MAKE_NONCOPYABLE(DocumentMarkerController); WTF_MAKE_FAST_ALLOCATED_WILL
     _BE_REMOVED; | 57     WTF_MAKE_NONCOPYABLE(DocumentMarkerController); WTF_MAKE_FAST_ALLOCATED_WILL
     _BE_REMOVED; | 
| 58     DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DocumentMarkerController); | 58     DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DocumentMarkerController); | 
| 59 public: | 59 public: | 
| 60 | 60 | 
| 61     DocumentMarkerController(); | 61     DocumentMarkerController(); | 
| 62 | 62 | 
| 63     void clear(); | 63     void clear(); | 
| 64     void addMarker(Range*, DocumentMarker::MarkerType, const String& description
      = emptyString(), uint32_t hash = 0); | 64     void addMarker(Range*, DocumentMarker::MarkerType, const String& description
      = emptyString(), uint32_t hash = 0); | 
| 65     void addMarker(const Position& start, const Position& end, DocumentMarker::M
     arkerType, const String& description = emptyString(), uint32_t hash = 0); | 65     void addMarker(const Position& start, const Position& end, DocumentMarker::M
     arkerType, const String& description = emptyString(), uint32_t hash = 0); | 
| 66     void addTextMatchMarker(const Range*, bool activeMatch); | 66     void addTextMatchMarker(const Range*, bool activeMatch); | 
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 114     DocumentMarker::MarkerTypes m_possiblyExistingMarkerTypes; | 114     DocumentMarker::MarkerTypes m_possiblyExistingMarkerTypes; | 
| 115 }; | 115 }; | 
| 116 | 116 | 
| 117 } // namespace blink | 117 } // namespace blink | 
| 118 | 118 | 
| 119 #ifndef NDEBUG | 119 #ifndef NDEBUG | 
| 120 void showDocumentMarkers(const blink::DocumentMarkerController*); | 120 void showDocumentMarkers(const blink::DocumentMarkerController*); | 
| 121 #endif | 121 #endif | 
| 122 | 122 | 
| 123 #endif // DocumentMarkerController_h | 123 #endif // DocumentMarkerController_h | 
| OLD | NEW | 
|---|