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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2177023002: Remove spellchecker feedback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.h ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 13f3681b9a53a2d4a10ffb188d2da24ccc5f9729..d306e1701951c867c1f4b478f9a0d7f080977af8 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -3763,19 +3763,6 @@ void WebViewImpl::dragTargetDrop(const WebDragData& webDragData, const WebPoint&
m_currentDragData = nullptr;
}
-void WebViewImpl::spellingMarkers(WebVector<uint32_t>* markers)
-{
- Vector<uint32_t> result;
- for (Frame* frame = m_page->mainFrame(); frame; frame = frame->tree().traverseNext()) {
- if (!frame->isLocalFrame())
- continue;
- const DocumentMarkerVector& documentMarkers = toLocalFrame(frame)->document()->markers().markers();
- for (size_t i = 0; i < documentMarkers.size(); ++i)
- result.append(documentMarkers[i]->hash());
- }
- markers->assign(result);
-}
-
void WebViewImpl::removeSpellingMarkersUnderWords(const WebVector<WebString>& words)
{
Vector<String> convertedWords;
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.h ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698