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

Side by Side Diff: Source/WebCore/inspector/ContentSearchUtils.h

Issue 8371003: Merge 97851 - Web Inspector: Enable caseSensitive search / Regex support in advanced search. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/912/
Patch Set: Created 9 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 unified diff | Download patch
OLDNEW
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 22 matching lines...) Expand all
33 33
34 #include <wtf/Vector.h> 34 #include <wtf/Vector.h>
35 35
36 namespace WebCore { 36 namespace WebCore {
37 37
38 class InspectorArray; 38 class InspectorArray;
39 class RegularExpression; 39 class RegularExpression;
40 40
41 namespace ContentSearchUtils { 41 namespace ContentSearchUtils {
42 42
43 RegularExpression createSearchRegex(const String& text, bool caseSensitive, bool isRegex); 43 RegularExpression createSearchRegex(const String& query, bool caseSensitive, boo l isRegex);
44 int countRegularExpressionMatches(const RegularExpression&, const String&); 44 int countRegularExpressionMatches(const RegularExpression&, const String&);
45 PassRefPtr<InspectorArray> searchInTextByLines(const String& query, const String & text); 45 PassRefPtr<InspectorArray> searchInTextByLines(const String& text, const String& query, const bool caseSensitive, const bool isRegex);
46 46
47 } // namespace ContentSearchUtils 47 } // namespace ContentSearchUtils
48 } // namespace WebCore 48 } // namespace WebCore
49 49
50 #endif // !defined(ContentSearchUtils_h) 50 #endif // !defined(ContentSearchUtils_h)
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/inspector/search/search-in-script-expected.txt ('k') | Source/WebCore/inspector/ContentSearchUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698