Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(466)

Side by Side Diff: third_party/WebKit/Source/core/editing/markers/DocumentMarker.h

Issue 2789373003: Rename DocumentMarker::activeMatch() to IsActiveMatch() (Closed)
Patch Set: Remove dependency Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 bool thick, 145 bool thick,
146 Color backgroundColor); 146 Color backgroundColor);
147 147
148 DocumentMarker(const DocumentMarker&); 148 DocumentMarker(const DocumentMarker&);
149 149
150 MarkerType type() const { return m_type; } 150 MarkerType type() const { return m_type; }
151 unsigned startOffset() const { return m_startOffset; } 151 unsigned startOffset() const { return m_startOffset; }
152 unsigned endOffset() const { return m_endOffset; } 152 unsigned endOffset() const { return m_endOffset; }
153 153
154 const String& description() const; 154 const String& description() const;
155 bool activeMatch() const; 155 bool IsActiveMatch() const;
156 Color underlineColor() const; 156 Color underlineColor() const;
157 bool thick() const; 157 bool thick() const;
158 Color backgroundColor() const; 158 Color backgroundColor() const;
159 DocumentMarkerDetails* details() const; 159 DocumentMarkerDetails* details() const;
160 160
161 void setActiveMatch(bool); 161 void setActiveMatch(bool);
162 void clearDetails() { m_details.clear(); } 162 void clearDetails() { m_details.clear(); }
163 163
164 // Offset modifications are done by DocumentMarkerController. 164 // Offset modifications are done by DocumentMarkerController.
165 // Other classes should not call following setters. 165 // Other classes should not call following setters.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 virtual bool isDescription() const { return false; } 197 virtual bool isDescription() const { return false; }
198 virtual bool isTextMatch() const { return false; } 198 virtual bool isTextMatch() const { return false; }
199 virtual bool isComposition() const { return false; } 199 virtual bool isComposition() const { return false; }
200 200
201 DEFINE_INLINE_VIRTUAL_TRACE() {} 201 DEFINE_INLINE_VIRTUAL_TRACE() {}
202 }; 202 };
203 203
204 } // namespace blink 204 } // namespace blink
205 205
206 #endif // DocumentMarker_h 206 #endif // DocumentMarker_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698