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

Unified Diff: third_party/WebKit/Source/web/TextFinder.h

Issue 1605863002: Restart search in page when new text is found. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: small clean up Created 4 years, 11 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/TextFinder.h
diff --git a/third_party/WebKit/Source/web/TextFinder.h b/third_party/WebKit/Source/web/TextFinder.h
index 1f48460022ef820cf8ad19207e03558b6ea024dd..72b45db454e2850be731eef830168ac042384b34 100644
--- a/third_party/WebKit/Source/web/TextFinder.h
+++ b/third_party/WebKit/Source/web/TextFinder.h
@@ -56,7 +56,7 @@ public:
bool find(
int identifier, const WebString& searchText, const WebFindOptions&,
- bool wrapWithinFrame, WebRect* selectionRect);
+ bool wrapWithinFrame, WebRect* selectionRect, bool* activeNow);
void stopFindingAndClearSelection();
void scopeStringMatches(
int identifier, const WebString& searchText, const WebFindOptions&,
@@ -157,7 +157,7 @@ private:
void addMarker(Range*, bool activeMatch);
// Sets the markers within a range as active or inactive.
- void setMarkerActive(Range*, bool active);
+ bool setMarkerActive(Range*, bool active);
// Removes all markers.
void unmarkAllTextMatches();

Powered by Google App Engine
This is Rietveld 408576698