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

Unified Diff: public/web/WebFindOptions.h

Issue 26654011: Fixing TestRunner::findString() so as to fix findString.html editing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing default initializations Created 7 years, 2 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 | « Source/web/WebFrameImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFindOptions.h
diff --git a/public/web/WebFindOptions.h b/public/web/WebFindOptions.h
index f76bd9446587a40db96f24f0ddb72cbdaf7b9c40..e3110435d2bde7b6f7c4f743d9ec9b7f4c4f3078 100644
--- a/public/web/WebFindOptions.h
+++ b/public/web/WebFindOptions.h
@@ -46,10 +46,19 @@ struct WebFindOptions {
// Whether this operation is the first request or a follow-up.
bool findNext;
+ // Whether this operation should look for matches only at the start of words.
+ bool wordStart;
+
+ // When combined with wordStart, accepts a match in the middle of a word if the match begins with
+ // an uppercase letter followed by a lowercase or non-letter. Accepts several other intra-word matches.
+ bool medialCapitalAsWordStart;
+
WebFindOptions()
: forward(true)
, matchCase(false)
- , findNext(false) { }
+ , findNext(false)
+ , wordStart(false)
+ , medialCapitalAsWordStart(false) { }
};
} // namespace WebKit
« no previous file with comments | « Source/web/WebFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698