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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js

Issue 2442543002: DevTools: New snippet button and icon (Closed)
Patch Set: Undo security stuff Created 4 years, 2 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/sources/NavigatorView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js b/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
index 2b58b56eedf70bf609ffcb86efc7f8173806f940..eb0270071edc38c33fd339abbc24e97f83e1e5e4 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
@@ -36,8 +36,10 @@ WebInspector.NavigatorView = function()
WebInspector.VBox.call(this);
this._scriptsTree = new TreeOutlineInShadow();
+ this.registerRequiredCSS("sources/navigatorView.css");
dgozman 2016/10/20 20:19:27 Let's have two separate css files.
einbinder 2016/10/20 20:56:13 Done.
this._scriptsTree.registerRequiredCSS("sources/navigatorView.css");
this._scriptsTree.setComparator(WebInspector.NavigatorView._treeElementsCompare);
+ this._scriptsTree.element.style.overflowY = "auto";
dgozman 2016/10/20 20:19:27 CSS in javascript, no-no!
einbinder 2016/10/20 20:56:13 Done.
this.element.appendChild(this._scriptsTree.element);
this.setDefaultFocusedElement(this._scriptsTree.element);

Powered by Google App Engine
This is Rietveld 408576698