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

Unified Diff: Source/devtools/front_end/SourcesPanel.js

Issue 71633003: DevTools: added "overlayContents" mode, where DevTools content is placed around and underneath inse… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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
Index: Source/devtools/front_end/SourcesPanel.js
diff --git a/Source/devtools/front_end/SourcesPanel.js b/Source/devtools/front_end/SourcesPanel.js
index 1300cc229133b4408e2256e72677be547eb72d9e..b9f2e6a94a8ea85a6a29f746885e75e2fdbf59dc 100644
--- a/Source/devtools/front_end/SourcesPanel.js
+++ b/Source/devtools/front_end/SourcesPanel.js
@@ -925,11 +925,11 @@ WebInspector.SourcesPanel.prototype = {
this._toggleBreakpointsButton.toggled = !active;
if (active) {
this._toggleBreakpointsButton.title = WebInspector.UIString("Deactivate breakpoints.");
- WebInspector.inspectorView.element.removeStyleClass("breakpoints-deactivated");
+ WebInspector.inspectorView.container().removeStyleClass("breakpoints-deactivated");
pfeldman 2013/11/18 15:07:42 Usage of inspectorView from within panels is disco
dgozman 2013/11/21 16:38:51 Done.
this.sidebarPanes.jsBreakpoints.listElement.removeStyleClass("breakpoints-list-deactivated");
} else {
this._toggleBreakpointsButton.title = WebInspector.UIString("Activate breakpoints.");
- WebInspector.inspectorView.element.addStyleClass("breakpoints-deactivated");
+ WebInspector.inspectorView.container().addStyleClass("breakpoints-deactivated");
this.sidebarPanes.jsBreakpoints.listElement.addStyleClass("breakpoints-list-deactivated");
}
},

Powered by Google App Engine
This is Rietveld 408576698