INNER CODE UNIT · JavaScript
updateVisibility
weolar/miniblink49 · third_party/WebKit/Source/devtools/front_end/main/Main.js:779
function updateVisibility()
{
var throttlingEnabled = WebInspector.NetworkManager.IsThrottlingEnabled(networkConditionsSetting.get());
WebInspector.inspectorView.setPanelIcon("network", throttlingEnabled ? "warning-icon" : "", WebInspector.UIString("Network throttling is enabled"));
}
}
/**
* @constructor
*/
WebInspector.Main.PauseListener = function()
{
WebInspector.targetManager.addModelListener(WebInspector.DebuggerModel, WebInspector.DebuggerModel.Events.DebuggerPaused, this._debuggerPaused, this);
}
WebInspector.Main.PauseListener.prototype = {
/**
* @param {!WebInspector.Event} event