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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/inspector/ContentSearchUtils.h
===================================================================
--- Source/WebCore/inspector/ContentSearchUtils.h (revision 98111)
+++ Source/WebCore/inspector/ContentSearchUtils.h (working copy)
@@ -40,9 +40,9 @@
namespace ContentSearchUtils {
-RegularExpression createSearchRegex(const String& text, bool caseSensitive, bool isRegex);
+RegularExpression createSearchRegex(const String& query, bool caseSensitive, bool isRegex);
int countRegularExpressionMatches(const RegularExpression&, const String&);
-PassRefPtr<InspectorArray> searchInTextByLines(const String& query, const String& text);
+PassRefPtr<InspectorArray> searchInTextByLines(const String& text, const String& query, const bool caseSensitive, const bool isRegex);
} // namespace ContentSearchUtils
} // namespace WebCore
« 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