TargetCrashedScreen.js 564 B

123
  1. export default class TargetCrashedScreen extends UI.VBox{constructor(hideCallback){super(true);this.registerRequiredCSS('ui/targetCrashedScreen.css');this.contentElement.createChild('div','message').textContent=Common.UIString('DevTools was disconnected from the page.');this.contentElement.createChild('div','message').textContent=Common.UIString('Once page is reloaded, DevTools will automatically reconnect.');this._hideCallback=hideCallback;}
  2. willHide(){this._hideCallback.call(null);}}
  3. self.UI=self.UI||{};UI=UI||{};UI.TargetCrashedScreen=TargetCrashedScreen;