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

Unified Diff: Source/devtools/front_end/ui/Dialog.js

Issue 403493003: DevTools: Fix DefaultFocusedViewStack handling for dialogs. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/ui/UIUtils.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui/Dialog.js
diff --git a/Source/devtools/front_end/ui/Dialog.js b/Source/devtools/front_end/ui/Dialog.js
index eacb7ce6d5c4fcf79c8915b6dda97fc7b5e49174..9b482a79511e1065078093e3c5d2154f151ad9b4 100644
--- a/Source/devtools/front_end/ui/Dialog.js
+++ b/Source/devtools/front_end/ui/Dialog.js
@@ -87,6 +87,11 @@ WebInspector.Dialog.hide = function()
}
WebInspector.Dialog.prototype = {
+ focus: function()
+ {
+ this._element.focus();
dgozman 2014/07/17 11:43:05 Maybe |this._delegate.focus()| ?
+ },
+
_hide: function()
{
if (this._isHiding)
« no previous file with comments | « no previous file | Source/devtools/front_end/ui/UIUtils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698