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

Unified Diff: Source/devtools/front_end/AdvancedSearchController.js

Issue 14329024: [DevTools] Close drawer on blur after short timeout. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed comments. Created 7 years, 8 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
« no previous file with comments | « no previous file | Source/devtools/front_end/DefaultTextEditor.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/AdvancedSearchController.js
diff --git a/Source/devtools/front_end/AdvancedSearchController.js b/Source/devtools/front_end/AdvancedSearchController.js
index 22f500e60f90cab47ae9e9b86ba24cbbea149749..56cde398f6e1b9cb8ee94f14cd610f1ee2bfefae 100644
--- a/Source/devtools/front_end/AdvancedSearchController.js
+++ b/Source/devtools/front_end/AdvancedSearchController.js
@@ -514,6 +514,7 @@ WebInspector.FileBasedSearchResultsPane.prototype = {
anchor.href = sanitizeHref(uiSourceCode.originURL());
anchor.uiSourceCode = uiSourceCode;
anchor.lineNumber = lineNumber;
+ anchor.omitFocus = true;
vsevik 2013/05/08 12:12:57 As discussed I don't think we should show drawer s
return anchor;
},
@@ -603,12 +604,14 @@ WebInspector.FileBasedSearchResultsPane.prototype = {
* @param {WebInspector.FileBasedSearchResultsPane.SearchResult} searchResult
* @param {number} startMatchIndex
* @param {TreeElement} showMoreMatchesElement
+ * @return {boolean}
*/
_showMoreMatchesElementSelected: function(searchResult, startMatchIndex, showMoreMatchesElement)
{
var fileTreeElement = showMoreMatchesElement.parent;
fileTreeElement.removeChild(showMoreMatchesElement);
this._appendSearchMatches(fileTreeElement, searchResult, startMatchIndex, searchResult.searchMatches.length);
+ return true;
},
/**
« no previous file with comments | « no previous file | Source/devtools/front_end/DefaultTextEditor.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698