| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of the DOM implementation for WebCore. | 2 * This file is part of the DOM implementation for WebCore. |
| 3 * | 3 * |
| 4 * Copyright (C) 2006 Apple Computer, Inc. | 4 * Copyright (C) 2006 Apple Computer, Inc. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| 11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
| 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
| 15 * | 15 * |
| 16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
| 17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
| 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
| 20 * | 20 * |
| 21 */ | 21 */ |
| 22 | 22 |
| 23 #ifndef DocumentMarker_h | 23 #ifndef DocumentMarker_h |
| 24 #define DocumentMarker_h | 24 #define DocumentMarker_h |
| 25 | 25 |
| 26 #include <wtf/Forward.h> | 26 #include "wtf/Forward.h" |
| 27 #include <wtf/RefCounted.h> | 27 #include "wtf/RefCounted.h" |
| 28 #include <wtf/RefPtr.h> | 28 #include "wtf/RefPtr.h" |
| 29 #include <wtf/text/WTFString.h> | 29 #include "wtf/text/WTFString.h" |
| 30 | 30 |
| 31 namespace WebCore { | 31 namespace WebCore { |
| 32 | 32 |
| 33 class DocumentMarkerDetails; | 33 class DocumentMarkerDetails; |
| 34 | 34 |
| 35 // A range of a node within a document that is "marked", such as the range of a
misspelled word. | 35 // A range of a node within a document that is "marked", such as the range of a
misspelled word. |
| 36 // It optionally includes a description that could be displayed in the user inte
rface. | 36 // It optionally includes a description that could be displayed in the user inte
rface. |
| 37 // It also optionally includes a flag specifying whether the match is active, wh
ich is ignored | 37 // It also optionally includes a flag specifying whether the match is active, wh
ich is ignored |
| 38 // for all types other than type TextMatch. | 38 // for all types other than type TextMatch. |
| 39 class DocumentMarker { | 39 class DocumentMarker { |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 public: | 121 public: |
| 122 DocumentMarkerDetails() { } | 122 DocumentMarkerDetails() { } |
| 123 virtual ~DocumentMarkerDetails(); | 123 virtual ~DocumentMarkerDetails(); |
| 124 virtual bool isDescription() const { return false; } | 124 virtual bool isDescription() const { return false; } |
| 125 virtual bool isTextMatch() const { return false; } | 125 virtual bool isTextMatch() const { return false; } |
| 126 }; | 126 }; |
| 127 | 127 |
| 128 } // namespace WebCore | 128 } // namespace WebCore |
| 129 | 129 |
| 130 #endif // DocumentMarker_h | 130 #endif // DocumentMarker_h |
| OLD | NEW |