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

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

Issue 2644233007: DevTools: Use real focus in TreeOutline (Closed)
Patch Set: changes Created 3 years, 11 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/ObjectPropertiesSection.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js b/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js
index 21f0f9756b13289e5e1b850ea0b01415ea575242..aa92643305b36c8ea789075f3616d61459b3b5be 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js
@@ -37,11 +37,10 @@ Components.ObjectPropertiesSection = class extends UI.TreeOutlineInShadow {
* @param {!Array.<!SDK.RemoteObjectProperty>=} extraProperties
*/
constructor(object, title, linkifier, emptyPlaceholder, ignoreHasOwnProperty, extraProperties) {
- super();
+ super(true);
this._object = object;
this._editable = true;
this.hideOverflow();
- this.setFocusable(false);
pfeldman 2017/01/30 18:43:07 I like it the way it was
einbinder 2017/02/01 22:51:35 Done.
this._objectTreeElement = new Components.ObjectPropertiesSection.RootElement(
object, linkifier, emptyPlaceholder, ignoreHasOwnProperty, extraProperties);
this.appendChild(this._objectTreeElement);

Powered by Google App Engine
This is Rietveld 408576698