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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/NetworkConditionsSelector.js

Issue 2094873002: DevTools: fix deepActiveElement and focus on Dialog when document blurs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: third_party/WebKit/Source/devtools/front_end/components/NetworkConditionsSelector.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components/NetworkConditionsSelector.js b/third_party/WebKit/Source/devtools/front_end/components/NetworkConditionsSelector.js
index 56387c10b30fa088173c5bc56ed371dcfb620071..b6b6a45834f4eb2b326223f2f4229f08ad5f47bf 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/NetworkConditionsSelector.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/NetworkConditionsSelector.js
@@ -289,6 +289,15 @@ WebInspector.NetworkConditionsSettingsTab = function()
}
WebInspector.NetworkConditionsSettingsTab.prototype = {
+ /**
+ * @override
+ * @return {!Element}
+ */
+ defaultFocusedElement: function()
+ {
+ return this.contentElement;
+ },
+
wasShown: function()
{
WebInspector.VBox.prototype.wasShown.call(this);

Powered by Google App Engine
This is Rietveld 408576698