Skip to content
Permalink
Browse files
2010-03-06 Pavel Feldman <pfeldman@chromium.org>
        Reviewed by Timothy Hatcher.

        Chromium: Restore devtools window activate upon node search complete.

        https://bugs.webkit.org/show_bug.cgi?id=35832

        * src/js/DevTools.js:


Canonical link: https://commits.webkit.org/46926@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@55629 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
pavelfeldman committed Mar 6, 2010
1 parent 8f0af2c commit 66288e7387894bf63b3b9260478a3e3e0a667041
Showing 2 changed files with 21 additions and 0 deletions.
@@ -1,3 +1,13 @@
2010-03-06 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Timothy Hatcher.

Chromium: Restore devtools window activate upon node search complete.

https://bugs.webkit.org/show_bug.cgi?id=35832

* src/js/DevTools.js:

2010-03-06 Darin Fisher <darin@chromium.org>

Reviewed by David Levin.
@@ -273,6 +273,17 @@ WebInspector.UIString = function(string)
return String.vsprintf(string, Array.prototype.slice.call(arguments, 1));
};

// Activate window upon node search complete. This will go away once InspectorFrontendClient is landed.
(function() {
var original = WebInspector.searchingForNodeWasDisabled;
WebInspector.searchingForNodeWasDisabled = function()
{
if (this.panels.elements._nodeSearchButton.toggled)
InspectorFrontendHost.activateWindow();
original.apply(this, arguments);
}
})();


// There is no clear way of setting frame title yet. So sniffing main resource
// load.

0 comments on commit 66288e7

Please sign in to comment.