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

Side by Side Diff: Source/core/dom/DocumentMarker.h

Issue 928103002: Remove some unused functions in core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: git cl try Created 5 years, 10 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 | « Source/core/dom/Document.cpp ('k') | Source/core/dom/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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 }; 85 };
86 86
87 class SpellCheckClientMarkers : public MarkerTypes { 87 class SpellCheckClientMarkers : public MarkerTypes {
88 public: 88 public:
89 SpellCheckClientMarkers() 89 SpellCheckClientMarkers()
90 : MarkerTypes(Spelling | Grammar | InvisibleSpellcheck) 90 : MarkerTypes(Spelling | Grammar | InvisibleSpellcheck)
91 { 91 {
92 } 92 }
93 }; 93 };
94 94
95 DocumentMarker();
96 DocumentMarker(MarkerType, unsigned startOffset, unsigned endOffset, const S tring& description, uint32_t hash); 95 DocumentMarker(MarkerType, unsigned startOffset, unsigned endOffset, const S tring& description, uint32_t hash);
97 DocumentMarker(unsigned startOffset, unsigned endOffset, bool activeMatch); 96 DocumentMarker(unsigned startOffset, unsigned endOffset, bool activeMatch);
98 DocumentMarker(MarkerType, unsigned startOffset, unsigned endOffset, PassRef PtrWillBeRawPtr<DocumentMarkerDetails>);
99 DocumentMarker(const DocumentMarker&); 97 DocumentMarker(const DocumentMarker&);
100 98
101 MarkerType type() const { return m_type; } 99 MarkerType type() const { return m_type; }
102 unsigned startOffset() const { return m_startOffset; } 100 unsigned startOffset() const { return m_startOffset; }
103 unsigned endOffset() const { return m_endOffset; } 101 unsigned endOffset() const { return m_endOffset; }
104 uint32_t hash() const { return m_hash; } 102 uint32_t hash() const { return m_hash; }
105 103
106 const String& description() const; 104 const String& description() const;
107 bool activeMatch() const; 105 bool activeMatch() const;
108 DocumentMarkerDetails* details() const; 106 DocumentMarkerDetails* details() const;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 virtual ~DocumentMarkerDetails(); 148 virtual ~DocumentMarkerDetails();
151 virtual bool isDescription() const { return false; } 149 virtual bool isDescription() const { return false; }
152 virtual bool isTextMatch() const { return false; } 150 virtual bool isTextMatch() const { return false; }
153 151
154 virtual void trace(Visitor*) { } 152 virtual void trace(Visitor*) { }
155 }; 153 };
156 154
157 } // namespace blink 155 } // namespace blink
158 156
159 #endif // DocumentMarker_h 157 #endif // DocumentMarker_h
OLDNEW
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/DocumentMarker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698