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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/BezierEditor.js

Issue 2514353006: DevTools: all swatches get default focused element (reland with fix) (Closed)
Patch Set: DevTools: all swatches get default focused element (reland with fix) Created 4 years, 1 month 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 | third_party/WebKit/Source/devtools/front_end/ui/CSSShadowEditor.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/ui/BezierEditor.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/BezierEditor.js b/third_party/WebKit/Source/devtools/front_end/ui/BezierEditor.js
index c7e41118d48f1cbfbe0d8f75d8ba6238b0606372..a84026027b731181916c626037f8b38019874098 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/BezierEditor.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/BezierEditor.js
@@ -9,6 +9,7 @@ UI.BezierEditor = class extends UI.VBox {
super(true);
this.registerRequiredCSS('ui/bezierEditor.css');
this.contentElement.tabIndex = 0;
+ this.setDefaultFocusedElement(this.contentElement);
// Preview UI
this._previewElement = this.contentElement.createChild('div', 'bezier-preview-container');
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/ui/CSSShadowEditor.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698