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

Unified Diff: Source/WebCore/inspector/front-end/ScriptsPanel.js

Issue 9956025: Merge 112677 - Web Inspector: ScriptsNavigator scripts selection/focus polish. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 9 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/front-end/ScriptsPanel.js
===================================================================
--- Source/WebCore/inspector/front-end/ScriptsPanel.js (revision 112683)
+++ Source/WebCore/inspector/front-end/ScriptsPanel.js (working copy)
@@ -673,16 +673,16 @@
_editorSelected: function(event)
{
- this._hideNavigatorOverlay();
var uiSourceCode = /** @type {WebInspector.UISourceCode} */ event.data;
this._showFile(uiSourceCode);
+ this._hideNavigatorOverlay();
},
_fileSelected: function(event)
{
- this._hideNavigatorOverlay();
var uiSourceCode = /** @type {WebInspector.UISourceCode} */ event.data;
this._showFile(uiSourceCode);
+ this._hideNavigatorOverlay();
},
_fileSelectorReleasedFocus: function(event)
@@ -1049,6 +1049,8 @@
return;
this._sidebarOverlay.hide();
+ if (this.visibleView)
+ this.visibleView.focus();
},
_navigatorOverlayWasShown: function(event)
« no previous file with comments | « Source/WebCore/inspector/front-end/ScriptsNavigator.js ('k') | Source/WebCore/inspector/front-end/treeoutline.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698