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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
135 DocumentMarker(MarkerType, | 135 DocumentMarker(MarkerType, |
136 unsigned start_offset, | 136 unsigned start_offset, |
137 unsigned end_offset, | 137 unsigned end_offset, |
138 const String& description); | 138 const String& description); |
139 DocumentMarker(unsigned start_offset, | 139 DocumentMarker(unsigned start_offset, |
140 unsigned end_offset, | 140 unsigned end_offset, |
141 Color underline_color, | 141 Color underline_color, |
142 bool thick, | 142 bool thick, |
143 Color background_color); | 143 Color background_color); |
144 | 144 |
145 DocumentMarker(const DocumentMarker&); | |
yosin_UTC9
2017/05/26 04:41:30
Let's add DISALLOW_COPY_AND_ASSIGN(...)
| |
146 | |
147 MarkerType GetType() const { return type_; } | 145 MarkerType GetType() const { return type_; } |
148 unsigned StartOffset() const { return start_offset_; } | 146 unsigned StartOffset() const { return start_offset_; } |
149 unsigned EndOffset() const { return end_offset_; } | 147 unsigned EndOffset() const { return end_offset_; } |
150 | 148 |
151 const String& Description() const; | 149 const String& Description() const; |
152 bool IsActiveMatch() const; | 150 bool IsActiveMatch() const; |
153 Color UnderlineColor() const; | 151 Color UnderlineColor() const; |
154 bool Thick() const; | 152 bool Thick() const; |
155 Color BackgroundColor() const; | 153 Color BackgroundColor() const; |
156 DocumentMarkerDetails* Details() const; | 154 DocumentMarkerDetails* Details() const; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
199 virtual bool IsDescription() const { return false; } | 197 virtual bool IsDescription() const { return false; } |
200 virtual bool IsTextMatch() const { return false; } | 198 virtual bool IsTextMatch() const { return false; } |
201 virtual bool IsComposition() const { return false; } | 199 virtual bool IsComposition() const { return false; } |
202 | 200 |
203 DEFINE_INLINE_VIRTUAL_TRACE() {} | 201 DEFINE_INLINE_VIRTUAL_TRACE() {} |
204 }; | 202 }; |
205 | 203 |
206 } // namespace blink | 204 } // namespace blink |
207 | 205 |
208 #endif // DocumentMarker_h | 206 #endif // DocumentMarker_h |
OLD | NEW |