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

Unified Diff: third_party/WebKit/Source/devtools/front_end/emulation/DevicesSettingsTab.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/emulation/DevicesSettingsTab.js
diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/DevicesSettingsTab.js b/third_party/WebKit/Source/devtools/front_end/emulation/DevicesSettingsTab.js
index 500fc75ebf9d6158b3d71390c209b544efc93499..b67e00f212c9c58b42bfe15299855abe69323f64 100644
--- a/third_party/WebKit/Source/devtools/front_end/emulation/DevicesSettingsTab.js
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/DevicesSettingsTab.js
@@ -36,6 +36,15 @@ WebInspector.DevicesSettingsTab = function()
}
WebInspector.DevicesSettingsTab.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