Home | History | Annotate | Download | only in front_end

Lines Matching refs:flow

43     this.element.addStyleClass("css-named-flow-collections-view");
119 * @param {WebInspector.NamedFlow} flow
121 _appendNamedFlow: function(flow)
123 var flowHash = this._hashNamedFlow(flow.documentNodeId, flow.name);
124 var flowContainer = { flow: flow, flowHash: flowHash };
126 for (var i = 0; i < flow.content.length; ++i)
127 this._contentNodes[flow.content[i]] = flowHash;
128 for (var i = 0; i < flow.regions.length; ++i)
129 this._regionNodes[flow.regions[i].nodeId] = flowHash;
153 var flow = flowContainer.flow;
154 for (var i = 0; i < flow.content.length; ++i)
155 delete this._contentNodes[flow.content[i]];
156 for (var i = 0; i < flow.regions.length; ++i)
157 delete this._regionNodes[flow.regions[i].nodeId];
166 * @param {WebInspector.NamedFlow} flow
168 _updateNamedFlow: function(flow)
170 var flowHash = this._hashNamedFlow(flow.documentNodeId, flow.name);
176 var oldFlow = flowContainer.flow;
177 flowContainer.flow = flow;
184 for (var i = 0; i < flow.content.length; ++i)
185 this._contentNodes[flow.content[i]] = flowHash;
186 for (var i = 0; i < flow.regions.length; ++i)
187 this._regionNodes[flow.regions[i].nodeId] = flowHash;
189 flowContainer.flowTreeItem.setOverset(flow.overset);
192 flowContainer.flowView.flow = flow;
222 var flow = /** @type {WebInspector.NamedFlow} */ (event.data);
223 this._appendNamedFlow(flow);
247 var flow = /** @type {WebInspector.NamedFlow} */ (event.data);
248 this._updateNamedFlow(flow);
260 var flow = /** @type {WebInspector.NamedFlow} */ (event.data);
261 this._updateNamedFlow(flow);
302 flowContainer.flowView = new WebInspector.CSSNamedFlowView(flowContainer.flow);
304 this._tabbedPane.appendTab(flowHash, flowContainer.flow.name, flowContainer.flowView);
402 container.createChild("span", "title").createChild("span").textContent = flowContainer.flow.name;
407 this.setOverset(flowContainer.flow.overset);
420 this.title.addStyleClass("named-flow-overflow");
423 this.title.removeStyleClass("named-flow-overflow");