Index: Source/devtools/front_end/ElementsPanel.js |
diff --git a/Source/devtools/front_end/ElementsPanel.js b/Source/devtools/front_end/ElementsPanel.js |
index ab2bcd068fe87125e57002d124141c3f810ec679..9d674b27b717ca51ebfe2d8277b1a902cc1f155d 100644 |
--- a/Source/devtools/front_end/ElementsPanel.js |
+++ b/Source/devtools/front_end/ElementsPanel.js |
@@ -28,8 +28,6 @@ |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-importScript("CSSNamedFlowCollectionsView.js"); |
-importScript("CSSNamedFlowView.js"); |
importScript("EventListenersSidebarPane.js"); |
importScript("MetricsSidebarPane.js"); |
importScript("OverridesView.js"); |
@@ -379,24 +377,12 @@ WebInspector.ElementsPanel.prototype = { |
var contextMenu = new WebInspector.ContextMenu(event); |
this.treeOutline.populateContextMenu(contextMenu, event); |
- if (WebInspector.experimentsSettings.cssRegions.isEnabled()) { |
- contextMenu.appendSeparator(); |
- contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "CSS named flows\u2026" : "CSS Named Flows\u2026"), this._showNamedFlowCollections.bind(this)); |
- } |
- |
contextMenu.appendSeparator(); |
contextMenu.appendCheckboxItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Word wrap" : "Word Wrap"), toggleWordWrap.bind(this), WebInspector.settings.domWordWrap.get()); |
contextMenu.show(); |
}, |
- _showNamedFlowCollections: function() |
- { |
- if (!WebInspector.cssNamedFlowCollectionsView) |
- WebInspector.cssNamedFlowCollectionsView = new WebInspector.CSSNamedFlowCollectionsView(); |
- WebInspector.cssNamedFlowCollectionsView.showInDrawer(); |
- }, |
- |
_domWordWrapSettingChanged: function(event) |
{ |
if (event.data) |
@@ -444,7 +430,7 @@ WebInspector.ElementsPanel.prototype = { |
} |
return anchor; |
}, |
- |
+ |
_loadDimensionsForNode: function(treeElement, callback) |
{ |
// We get here for CSS properties, too, so bail out early for non-DOM treeElements. |
@@ -452,7 +438,7 @@ WebInspector.ElementsPanel.prototype = { |
callback(); |
return; |
} |
- |
+ |
var node = /** @type {!WebInspector.DOMNode} */ (treeElement.representedObject); |
if (!node.nodeName() || node.nodeName().toLowerCase() !== "img") { |
@@ -1136,7 +1122,7 @@ WebInspector.ElementsPanel.prototype = { |
this.selectDOMNode(node, true); |
}, |
- /** |
+ /** |
* @param {!WebInspector.ContextMenu} contextMenu |
* @param {!Object} target |
*/ |