Searched refs:DocumentMarker (Results 1 - 25 of 26) sorted by relevance

12

/external/webkit/Source/WebCore/dom/
H A DDocumentMarkerController.h30 #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 DDocumentMarkerController.cpp41 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 DDocumentMarker.h35 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 DSpellingCorrectionController.cpp51 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 DSpellingCorrectionController.h40 #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 DSpellChecker.cpp142 static DocumentMarker::MarkerType toMarkerType(TextCheckingType type)
145 return DocumentMarker::Spelling;
147 return DocumentMarker::Grammar;
H A DEditor.cpp1650 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 DEditor.h31 #include "DocumentMarker.h"
386 bool selectionStartHasMarkerFor(DocumentMarker::MarkerType, int from, int length) const;
432 void applyCorrectionPanelInfo(const Vector<DocumentMarker::MarkerType>& markerTypesToAdd);
H A DTextCheckingHelper.cpp209 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 DSVGInlineFlowBox.cpp96 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 DInlineTextBox.h33 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 DInlineTextBox.cpp967 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 DHitTestResult.cpp203 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 DAssertMatchingEnums.cpp39 #include "DocumentMarker.h"
419 COMPILE_ASSERT_MATCHING_ENUM(WebTextCheckingResult::ErrorSpelling, DocumentMarker::Spelling);
420 COMPILE_ASSERT_MATCHING_ENUM(WebTextCheckingResult::ErrorGrammar, DocumentMarker::Grammar);
H A DWebFrameImpl.cpp84 #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 DFindController.cpp236 Vector<IntRect> frameRects = document->markers()->renderedRectsForMarkers(DocumentMarker::TextMatch);
H A DWebPage.cpp1731 document->markers()->removeMarkers(DocumentMarker::Spelling);
1739 document->markers()->removeMarkers(DocumentMarker::Grammar);
/external/webkit/Source/WebKit/mac/WebView/
H A DWebFrame.mm402 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 DWebHTMLView.mm6376 document->markers()->removeMarkers(DocumentMarker::TextMatch);
6388 Vector<IntRect> rects = document->markers()->renderedRectsForMarkers(DocumentMarker::TextMatch);
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
H A DDumpRenderTreeSupportGtk.cpp680 return core(frame)->editor()->selectionStartHasMarkerFor(DocumentMarker::Spelling, from, length);
/external/webkit/Source/WebKit/win/
H A DWebFrame.cpp1031 *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 Dewk_frame.cpp794 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 DPage.cpp560 frame->document()->markers()->removeMarkers(DocumentMarker::TextMatch);
H A DFrameView.cpp2166 tickmarks = frame()->document()->markers()->renderedRectsForMarkers(DocumentMarker::TextMatch);
/external/webkit/Source/WebKit/android/jni/
H A DWebViewCore.cpp4300 frame->document()->markers()->removeMarkers(DocumentMarker::TextMatch);

Completed in 427 milliseconds

12