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

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

Issue 1939803002: DevTools: mute the node highlight & hide devtools while taking screenshots. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/sdk/DOMModel.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/InspectorView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js b/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js
index 7fd72994739a2026fe2307d0fce22f77612c8618..8f0533136042226c3766153b3e1ca9dadc15374b 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js
@@ -547,6 +547,26 @@ WebInspector.InspectorView.prototype = {
this._tabOrderSetting.set(tabOrders);
},
+ /**
+ * @param {!WebInspector.SplitWidget} splitWidget
+ */
+ setOwnerSplit: function(splitWidget)
+ {
+ this._ownerSplitWidget = splitWidget;
+ },
+
+ minimize: function()
+ {
+ if (this._ownerSplitWidget)
+ this._ownerSplitWidget.setSidebarMinimized(true);
+ },
+
+ restore: function()
+ {
+ if (this._ownerSplitWidget)
+ this._ownerSplitWidget.setSidebarMinimized(false);
+ },
+
__proto__: WebInspector.VBox.prototype
};
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sdk/DOMModel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698