| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 CaseInsensitive = 1 << 0, | 32 CaseInsensitive = 1 << 0, |
| 33 AtWordStarts = 1 << 1, | 33 AtWordStarts = 1 << 1, |
| 34 // When combined with AtWordStarts, accepts a match in the middle of a word if | 34 // When combined with AtWordStarts, accepts a match in the middle of a word if |
| 35 // the match begins with an uppercase letter followed by a lowercase or | 35 // the match begins with an uppercase letter followed by a lowercase or |
| 36 // non-letter. Accepts several other intra-word matches. | 36 // non-letter. Accepts several other intra-word matches. |
| 37 TreatMedialCapitalAsWordStart = 1 << 2, | 37 TreatMedialCapitalAsWordStart = 1 << 2, |
| 38 Backwards = 1 << 3, | 38 Backwards = 1 << 3, |
| 39 WrapAround = 1 << 4, | 39 WrapAround = 1 << 4, |
| 40 StartInSelection = 1 << 5, | 40 StartInSelection = 1 << 5, |
| 41 WholeWord = 1 << 6, // WholeWord should imply AtWordStarts | 41 WholeWord = 1 << 6, // WholeWord should imply AtWordStarts |
| 42 // TODO(yosin) Once find UI works on flat tree and it doesn't use | 42 // TODO(yosin) Once find UI works on flat tree and it |
| 43 // |rangeOfString()|, we should get rid of |FindAPICall| enum member. | 43 // doesn't use |rangeOfString()|, we should get rid of |
| 44 // |FindAPICall| enum member. |
| 44 FindAPICall = 1 << 7, // Used for Window.find or execCommand('find') | 45 FindAPICall = 1 << 7, // Used for Window.find or execCommand('find') |
| 45 }; | 46 }; |
| 46 | 47 |
| 47 typedef unsigned FindOptions; | 48 typedef unsigned FindOptions; |
| 48 | 49 |
| 49 } // namespace blink | 50 } // namespace blink |
| 50 | 51 |
| 51 #endif // FindOptions_h | 52 #endif // FindOptions_h |
| OLD | NEW |