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

Unified Diff: third_party/WebKit/public/web/WebFindOptions.h

Issue 2236403004: Handling new frames and frame navigations with find-in-page during a find session. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased and updated comment. Created 4 years, 3 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/public/web/WebFindOptions.h
diff --git a/third_party/WebKit/public/web/WebFindOptions.h b/third_party/WebKit/public/web/WebFindOptions.h
index 3c3200741e840dd148f4b24446e69868d3e08311..c4662119385b0051b06ec5655a7f69d80c4868b3 100644
--- a/third_party/WebKit/public/web/WebFindOptions.h
+++ b/third_party/WebKit/public/web/WebFindOptions.h
@@ -53,12 +53,17 @@ struct WebFindOptions {
// an uppercase letter followed by a lowercase or non-letter. Accepts several other intra-word matches.
bool medialCapitalAsWordStart;
+ // Force a re-search of the frame: typically used when forcing a re-search
+ // after the frame navigates.
+ bool force;
+
WebFindOptions()
: forward(true)
, matchCase(false)
, findNext(false)
, wordStart(false)
- , medialCapitalAsWordStart(false) { }
+ , medialCapitalAsWordStart(false)
+ , force(false) { }
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698