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

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: Close drawer only in overlay mode. 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') | Source/devtools/front_end/Drawer.js » ('J')
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..eab353657773954f468d3e71bc5c8cc07615fe66 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.silent = true;
pfeldman 2013/04/27 08:05:45 Clicking a link does not result in focus gain? Tha
Dmitry Zvorygin 2013/04/29 16:02:35 Only if you click on link in advanced search panel
return anchor;
},
@@ -609,6 +610,7 @@ WebInspector.FileBasedSearchResultsPane.prototype = {
var fileTreeElement = showMoreMatchesElement.parent;
fileTreeElement.removeChild(showMoreMatchesElement);
this._appendSearchMatches(fileTreeElement, searchResult, startMatchIndex, searchResult.searchMatches.length);
+ return true;
lushnikov 2013/04/28 13:36:59 Could you please annotate return value?
Dmitry Zvorygin 2013/04/29 16:02:35 Done.
},
/**
« no previous file with comments | « no previous file | Source/devtools/front_end/DefaultTextEditor.js » ('j') | Source/devtools/front_end/Drawer.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698