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

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

Issue 1968843002: DevTools: update default focus element in security panel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js ('k') | no next file » | 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/treeoutline.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js b/third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js
index 56ebfc63b571768ba55311c25b76091a06b24a03..b980ea7805456207659c48a82ddd751bec1d0062 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js
@@ -317,14 +317,14 @@ TreeOutline.prototype = {
function TreeOutlineInShadow()
{
TreeOutline.call(this);
- var innerElement = this.element;
- innerElement.classList.add("tree-outline");
+ this.innerElement = this.element;
lushnikov 2016/05/12 19:15:44 let's call this contentElement to be consistent wi
luoe 2016/05/12 21:28:28 Turns out there was already a "_contentElement", w
+ this.innerElement.classList.add("tree-outline");
// Redefine element to the external one.
this.element = createElement("div");
this._shadowRoot = WebInspector.createShadowRootWithCoreStyles(this.element, "ui/treeoutline.css");
this._disclosureElement = this._shadowRoot.createChild("div", "tree-outline-disclosure");
- this._disclosureElement.appendChild(innerElement);
+ this._disclosureElement.appendChild(this.innerElement);
this._renderSelection = true;
}
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698