| 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 * |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 public: | 124 public: |
| 125 AllMarkers() | 125 AllMarkers() |
| 126 : MarkerTypes(kSpelling | kGrammar | kTextMatch | kComposition) {} | 126 : MarkerTypes(kSpelling | kGrammar | kTextMatch | kComposition) {} |
| 127 }; | 127 }; |
| 128 | 128 |
| 129 class MisspellingMarkers : public MarkerTypes { | 129 class MisspellingMarkers : public MarkerTypes { |
| 130 public: | 130 public: |
| 131 MisspellingMarkers() : MarkerTypes(kSpelling | kGrammar) {} | 131 MisspellingMarkers() : MarkerTypes(kSpelling | kGrammar) {} |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 class SpellCheckClientMarkers : public MarkerTypes { | |
| 135 public: | |
| 136 SpellCheckClientMarkers() : MarkerTypes(kSpelling | kGrammar) {} | |
| 137 }; | |
| 138 | |
| 139 enum class MatchStatus { kInactive, kActive }; | 134 enum class MatchStatus { kInactive, kActive }; |
| 140 | 135 |
| 141 DocumentMarker(MarkerType, | 136 DocumentMarker(MarkerType, |
| 142 unsigned start_offset, | 137 unsigned start_offset, |
| 143 unsigned end_offset, | 138 unsigned end_offset, |
| 144 const String& description); | 139 const String& description); |
| 145 DocumentMarker(unsigned start_offset, unsigned end_offset, MatchStatus); | 140 DocumentMarker(unsigned start_offset, unsigned end_offset, MatchStatus); |
| 146 DocumentMarker(unsigned start_offset, | 141 DocumentMarker(unsigned start_offset, |
| 147 unsigned end_offset, | 142 unsigned end_offset, |
| 148 Color underline_color, | 143 Color underline_color, |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 virtual bool IsDescription() const { return false; } | 198 virtual bool IsDescription() const { return false; } |
| 204 virtual bool IsTextMatch() const { return false; } | 199 virtual bool IsTextMatch() const { return false; } |
| 205 virtual bool IsComposition() const { return false; } | 200 virtual bool IsComposition() const { return false; } |
| 206 | 201 |
| 207 DEFINE_INLINE_VIRTUAL_TRACE() {} | 202 DEFINE_INLINE_VIRTUAL_TRACE() {} |
| 208 }; | 203 }; |
| 209 | 204 |
| 210 } // namespace blink | 205 } // namespace blink |
| 211 | 206 |
| 212 #endif // DocumentMarker_h | 207 #endif // DocumentMarker_h |
| OLD | NEW |