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

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

Issue 2186113002: Fix find-in-page re-scope across frame boundaries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index 9672566fe529b0560898a9a17ef532915fc524ee..e13a1f22ff2528c4f28b7bb10751ae8fc440ddeb 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -2006,6 +2006,11 @@ void WebLocalFrameImpl::cancelPendingScopingEffort()
m_textFinder->cancelPendingScopingEffort();
}
+bool WebLocalFrameImpl::scopingInProgress()
+{
+ return m_textFinder ? m_textFinder->scopingInProgress() : false;
+}
+
void WebLocalFrameImpl::increaseMatchCount(int count, int identifier)
{
ensureTextFinder().increaseMatchCount(identifier, count);

Powered by Google App Engine
This is Rietveld 408576698