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 |