Chromium Code Reviews| Index: public/web/WebFindOptions.h |
| diff --git a/public/web/WebFindOptions.h b/public/web/WebFindOptions.h |
| index f76bd9446587a40db96f24f0ddb72cbdaf7b9c40..6529f07fd933cf4cdcfe9be7aae72dd9f34382b8 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) { } |
| + , matchCase(true) |
|
tkent
2013/10/17 23:31:30
We must not change the default behavior because br
|
| + , findNext(true) |
| + , wordStart(false) |
| + , medialCapitalAsWordStart(false) { } |
| }; |
| } // namespace WebKit |