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

Side by Side Diff: third_party/WebKit/Source/core/layout/HitTestResult.h

Issue 2350773004: Move HitTestResult::isMisspelled to SelectionController (Closed)
Patch Set: Remove DocumentMarkerController.h from include Created 4 years, 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. 2 * Copyright (C) 2006 Apple Computer, Inc.
3 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies)
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 bool isSelected() const; 127 bool isSelected() const;
128 String title(TextDirection&) const; 128 String title(TextDirection&) const;
129 const AtomicString& altDisplayString() const; 129 const AtomicString& altDisplayString() const;
130 Image* image() const; 130 Image* image() const;
131 IntRect imageRect() const; 131 IntRect imageRect() const;
132 KURL absoluteImageURL() const; 132 KURL absoluteImageURL() const;
133 KURL absoluteMediaURL() const; 133 KURL absoluteMediaURL() const;
134 KURL absoluteLinkURL() const; 134 KURL absoluteLinkURL() const;
135 String textContent() const; 135 String textContent() const;
136 bool isLiveLink() const; 136 bool isLiveLink() const;
137 bool isMisspelled() const;
138 bool isContentEditable() const; 137 bool isContentEditable() const;
139 138
140 bool isOverLink() const; 139 bool isOverLink() const;
141 140
142 bool isCacheable() const { return m_cacheable; } 141 bool isCacheable() const { return m_cacheable; }
143 void setCacheable(bool cacheable) { m_cacheable = cacheable; } 142 void setCacheable(bool cacheable) { m_cacheable = cacheable; }
144 143
145 // TODO(pdr): When using the default rect argument, this function does not 144 // TODO(pdr): When using the default rect argument, this function does not
146 // check if the tapped area is entirely contained by the HitTestLocation's 145 // check if the tapped area is entirely contained by the HitTestLocation's
147 // bounding box. Callers should pass a LayoutRect as the third parameter so 146 // bounding box. Callers should pass a LayoutRect as the third parameter so
(...skipping 30 matching lines...) Expand all
178 bool m_isOverWidget; // Returns true if we are over a widget (and not in the border/padding area of a LayoutPart for example). 177 bool m_isOverWidget; // Returns true if we are over a widget (and not in the border/padding area of a LayoutPart for example).
179 178
180 mutable Member<NodeSet> m_listBasedTestResult; 179 mutable Member<NodeSet> m_listBasedTestResult;
181 }; 180 };
182 181
183 } // namespace blink 182 } // namespace blink
184 183
185 WTF_ALLOW_CLEAR_UNUSED_SLOTS_WITH_MEM_FUNCTIONS(blink::HitTestResult); 184 WTF_ALLOW_CLEAR_UNUSED_SLOTS_WITH_MEM_FUNCTIONS(blink::HitTestResult);
186 185
187 #endif // HitTestResult_h 186 #endif // HitTestResult_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698