| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * | 10 * |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 JavaScriptMagicComment, | 47 JavaScriptMagicComment, |
| 48 CSSMagicComment | 48 CSSMagicComment |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 PassOwnPtr<RegularExpression> createSearchRegex(const String& query, bool caseSe
nsitive, bool isRegex); | 51 PassOwnPtr<RegularExpression> createSearchRegex(const String& query, bool caseSe
nsitive, bool isRegex); |
| 52 int countRegularExpressionMatches(const RegularExpression*, const String&); | 52 int countRegularExpressionMatches(const RegularExpression*, const String&); |
| 53 PassRefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> > searchInTextByLi
nes(const String& text, const String& query, const bool caseSensitive, const boo
l isRegex); | 53 PassRefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> > searchInTextByLi
nes(const String& text, const String& query, const bool caseSensitive, const boo
l isRegex); |
| 54 TextPosition textPositionFromOffset(size_t offset, const Vector<size_t>& lineEnd
ings); | 54 TextPosition textPositionFromOffset(size_t offset, const Vector<size_t>& lineEnd
ings); |
| 55 PassOwnPtr<Vector<size_t> > lineEndings(const String&); | 55 PassOwnPtr<Vector<size_t> > lineEndings(const String&); |
| 56 | 56 |
| 57 String findSourceURL(const String& content, MagicCommentType); | 57 String findSourceURL(const String& content, MagicCommentType, bool* deprecated); |
| 58 String findSourceMapURL(const String& content, MagicCommentType); | 58 String findSourceMapURL(const String& content, MagicCommentType, bool* deprecate
d); |
| 59 | 59 |
| 60 } // namespace ContentSearchUtils | 60 } // namespace ContentSearchUtils |
| 61 } // namespace WebCore | 61 } // namespace WebCore |
| 62 | 62 |
| 63 | 63 |
| 64 #endif // !defined(ContentSearchUtils_h) | 64 #endif // !defined(ContentSearchUtils_h) |
| OLD | NEW |