/external/webkit/Source/WebCore/dom/ |
H A D | DocumentMarkerController.h | 30 #include "DocumentMarker.h" 48 void addMarker(Range*, DocumentMarker::MarkerType, String description = String()); 49 void addMarker(Node*, DocumentMarker); 51 bool hasMarkers(Range*, DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); 57 void removeMarkers(Range*, DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers(), RemovePartiallyOverlappingMarkerOrNot = DoNotRemovePartiallyOverlappingMarker); 58 void removeMarkers(Node*, unsigned startOffset, int length, DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers(), RemovePartiallyOverlappingMarkerOrNot = DoNotRemovePartiallyOverlappingMarker); 60 void removeMarkers(DocumentMarker [all...] |
H A D | DocumentMarkerController.cpp | 41 inline bool DocumentMarkerController::possiblyHasMarkers(DocumentMarker::MarkerTypes types) 60 void DocumentMarkerController::addMarker(Range* range, DocumentMarker::MarkerType type, String description) 66 DocumentMarker marker = {type, textPiece->startOffset(exception), textPiece->endOffset(exception), description, false}; 71 void DocumentMarkerController::removeMarkers(Range* range, DocumentMarker::MarkerTypes markerTypes, RemovePartiallyOverlappingMarkerOrNot shouldRemovePartiallyOverlappingMarker) 88 void DocumentMarkerController::addMarker(Node* node, DocumentMarker newMarker) 104 Vector<DocumentMarker>& markers = vectorPair->first; 113 DocumentMarker marker = markers[i]; 129 DocumentMarker marker = markers[j]; 160 if (!possiblyHasMarkers(DocumentMarker::AllMarkers())) 172 Vector<DocumentMarker> [all...] |
H A D | DocumentMarker.h | 35 struct DocumentMarker { struct in namespace:WebCore 88 bool operator==(const DocumentMarker& o) const 93 bool operator!=(const DocumentMarker& o) const
|
/external/webkit/Source/WebCore/editing/ |
H A D | SpellingCorrectionController.cpp | 51 static const Vector<DocumentMarker::MarkerType>& markerTypesForAutocorrection() 53 DEFINE_STATIC_LOCAL(Vector<DocumentMarker::MarkerType>, markerTypesForAutoCorrection, ()); 55 markerTypesForAutoCorrection.append(DocumentMarker::Replacement); 56 markerTypesForAutoCorrection.append(DocumentMarker::CorrectionIndicator); 57 markerTypesForAutoCorrection.append(DocumentMarker::SpellCheckingExemption); 58 markerTypesForAutoCorrection.append(DocumentMarker::Autocorrected); 63 static const Vector<DocumentMarker::MarkerType>& markerTypesForReplacement() 65 DEFINE_STATIC_LOCAL(Vector<DocumentMarker::MarkerType>, markerTypesForReplacement, ()); 67 markerTypesForReplacement.append(DocumentMarker::Replacement); 68 markerTypesForReplacement.append(DocumentMarker [all...] |
H A D | SpellingCorrectionController.h | 40 #include "DocumentMarker.h" 94 void applyCorrectionPanelInfo(const Vector<DocumentMarker::MarkerType>&) UNLESS_ENABLED({}) 123 bool shouldStartTimeFor(const DocumentMarker& marker, int endOffset) const 125 return (((marker.type == DocumentMarker::Replacement && !marker.description.isNull()) 126 || marker.type == DocumentMarker::Spelling) && static_cast<int>(marker.endOffset) == endOffset);
|
H A D | SpellChecker.cpp | 142 static DocumentMarker::MarkerType toMarkerType(TextCheckingType type) 145 return DocumentMarker::Spelling; 147 return DocumentMarker::Grammar;
|
H A D | Editor.cpp | 1650 frame()->document()->markers()->removeMarkers(selectedRange.get(), DocumentMarker::Spelling); 1666 frame()->document()->markers()->removeMarkers(selectedRange.get(), DocumentMarker::Spelling); 1829 frame()->document()->markers()->addMarker(badGrammarRange.get(), DocumentMarker::Grammar, grammarDetail.userDescription); 1839 frame()->document()->markers()->addMarker(misspellingRange.get(), DocumentMarker::Spelling); 1953 frame()->document()->markers()->removeMarkers(selectedRange.get(), DocumentMarker::Spelling); 1954 frame()->document()->markers()->removeMarkers(selectedRange.get(), DocumentMarker::Grammar); 2198 misspellingRange->startContainer(ec)->document()->markers()->addMarker(misspellingRange.get(), DocumentMarker::Spelling); 2206 grammarRange->startContainer(ec)->document()->markers()->addMarker(badGrammarRange.get(), DocumentMarker::Grammar, detail->userDescription); 2241 if (markers->hasMarkers(rangeToReplace.get(), DocumentMarker::Replacement)) { 2244 } else if (markers->hasMarkers(rangeToReplace.get(), DocumentMarker [all...] |
H A D | Editor.h | 31 #include "DocumentMarker.h" 386 bool selectionStartHasMarkerFor(DocumentMarker::MarkerType, int from, int length) const; 432 void applyCorrectionPanelInfo(const Vector<DocumentMarker::MarkerType>& markerTypesToAdd);
|
H A D | TextCheckingHelper.cpp | 209 misspellingRange->startContainer(ec)->document()->markers()->addMarker(misspellingRange.get(), DocumentMarker::Spelling); 360 // Optionally add a DocumentMarker for each detail in the range. 380 badGrammarRange->startContainer(ec)->document()->markers()->addMarker(badGrammarRange.get(), DocumentMarker::Grammar, detail->userDescription);
|
/external/webkit/Source/WebCore/rendering/svg/ |
H A D | SVGInlineFlowBox.cpp | 96 Vector<DocumentMarker> markers = document->markers()->markersForNode(textRenderer->node()); 98 Vector<DocumentMarker>::iterator markerEnd = markers.end(); 99 for (Vector<DocumentMarker>::iterator markerIt = markers.begin(); markerIt != markerEnd; ++markerIt) { 100 const DocumentMarker& marker = *markerIt; 103 if (marker.type != DocumentMarker::TextMatch)
|
/external/webkit/Source/WebCore/rendering/ |
H A D | InlineTextBox.h | 33 struct DocumentMarker; 170 void paintSpellingOrGrammarMarker(GraphicsContext*, const FloatPoint& boxOrigin, const DocumentMarker&, RenderStyle*, const Font&, bool grammar); 171 void paintTextMatchMarker(GraphicsContext*, const FloatPoint& boxOrigin, const DocumentMarker&, RenderStyle*, const Font&); 172 void computeRectForReplacementMarker(const DocumentMarker&, RenderStyle*, const Font&);
|
H A D | InlineTextBox.cpp | 967 static GraphicsContext::TextCheckingLineStyle textCheckingLineStyleForMarkerType(DocumentMarker::MarkerType markerType) 970 case DocumentMarker::Spelling: 972 case DocumentMarker::Grammar: 974 case DocumentMarker::CorrectionIndicator: 982 void InlineTextBox::paintSpellingOrGrammarMarker(GraphicsContext* pt, const FloatPoint& boxOrigin, const DocumentMarker& marker, RenderStyle* style, const Font& font, bool grammar) 1050 void InlineTextBox::paintTextMatchMarker(GraphicsContext* pt, const FloatPoint& boxOrigin, const DocumentMarker& marker, RenderStyle* style, const Font& font) 1083 void InlineTextBox::computeRectForReplacementMarker(const DocumentMarker& marker, RenderStyle* style, const Font& font) 1105 Vector<DocumentMarker> markers = renderer()->document()->markers()->markersForNode(renderer()->node()); 1106 Vector<DocumentMarker>::iterator markerIt = markers.begin(); 1111 const DocumentMarker [all...] |
H A D | HitTestResult.cpp | 203 DocumentMarker* marker = m_innerNonSharedNode->document()->markers()->markerContainingPoint(m_point, DocumentMarker::Grammar); 219 DocumentMarker* marker = m_innerNonSharedNode->document()->markers()->markerContainingPoint(m_point, DocumentMarker::Replacement);
|
/external/webkit/Source/WebKit/chromium/src/ |
H A D | AssertMatchingEnums.cpp | 39 #include "DocumentMarker.h" 419 COMPILE_ASSERT_MATCHING_ENUM(WebTextCheckingResult::ErrorSpelling, DocumentMarker::Spelling); 420 COMPILE_ASSERT_MATCHING_ENUM(WebTextCheckingResult::ErrorGrammar, DocumentMarker::Grammar);
|
H A D | WebFrameImpl.cpp | 84 #include "DocumentMarker.h" 1570 frame()->document()->markers()->removeMarkers(DocumentMarker::TextMatch); 1860 return m_frame->editor()->selectionStartHasMarkerFor(DocumentMarker::Spelling, from, length); 2226 DocumentMarker marker = { 2227 DocumentMarker::TextMatch, 2243 Vector<DocumentMarker> markers = frame()->document()->markers()->markersForNode(node);
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/ |
H A D | FindController.cpp | 236 Vector<IntRect> frameRects = document->markers()->renderedRectsForMarkers(DocumentMarker::TextMatch);
|
H A D | WebPage.cpp | 1731 document->markers()->removeMarkers(DocumentMarker::Spelling); 1739 document->markers()->removeMarkers(DocumentMarker::Grammar);
|
/external/webkit/Source/WebKit/mac/WebView/ |
H A D | WebFrame.mm | 402 document->markers()->removeMarkers(DocumentMarker::Grammar); 412 document->markers()->removeMarkers(DocumentMarker::Spelling); 1281 return coreFrame->editor()->selectionStartHasMarkerFor(DocumentMarker::Spelling, from, length); 1289 return coreFrame->editor()->selectionStartHasMarkerFor(DocumentMarker::Grammar, from, length);
|
H A D | WebHTMLView.mm | 6376 document->markers()->removeMarkers(DocumentMarker::TextMatch); 6388 Vector<IntRect> rects = document->markers()->renderedRectsForMarkers(DocumentMarker::TextMatch);
|
/external/webkit/Source/WebKit/gtk/WebCoreSupport/ |
H A D | DumpRenderTreeSupportGtk.cpp | 680 return core(frame)->editor()->selectionStartHasMarkerFor(DocumentMarker::Spelling, from, length);
|
/external/webkit/Source/WebKit/win/ |
H A D | WebFrame.cpp | 1031 *result = coreFrame->editor()->selectionStartHasMarkerFor(DocumentMarker::Spelling, from, length); 2586 doc->markers()->removeMarkers(DocumentMarker::Spelling); 2598 doc->markers()->removeMarkers(DocumentMarker::Grammar);
|
/external/webkit/Source/WebKit/efl/ewk/ |
H A D | ewk_frame.cpp | 794 sd->frame->document()->markers()->removeMarkers(WebCore::DocumentMarker::TextMatch); 860 Vector<WebCore::IntRect> intRects = sd->frame->document()->markers()->renderedRectsForMarkers(WebCore::DocumentMarker::TextMatch);
|
/external/webkit/Source/WebCore/page/ |
H A D | Page.cpp | 560 frame->document()->markers()->removeMarkers(DocumentMarker::TextMatch);
|
H A D | FrameView.cpp | 2166 tickmarks = frame()->document()->markers()->renderedRectsForMarkers(DocumentMarker::TextMatch);
|
/external/webkit/Source/WebKit/android/jni/ |
H A D | WebViewCore.cpp | 4300 frame->document()->markers()->removeMarkers(DocumentMarker::TextMatch);
|