B2G/gecko/browser/devtools/debugger/debugger-view.js
/**
   * Caches frequently used global view elements.
   */
Caches frequently used global view elements.
Caches frequently used global view elements .
function DV_cacheView() {
    this._onTogglePanesButtonPressed = this._onTogglePanesButtonPressed.bind(this);
    this._togglePanesButton = document.getElementById("toggle-panes");
    this._stackframesAndBreakpoints = document.getElementById("stackframes+breakpoints");
    this._stackframes = document.getElementById("stackframes");
    this._breakpoints = document.getElementById("breakpoints");
    this._variables = document.getElementById("variables");
    this._scripts = document.getElementById("scripts");
    this._globalSearch = document.getElementById("globalsearch");
    this._globalSearchSplitter = document.getElementById("globalsearch-splitter");
    this._fileSearchKey = document.getElementById("fileSearchKey");
    this._lineSearchKey = document.getElementById("lineSearchKey");
    this._tokenSearchKey = document.getElementById("tokenSearchKey");
    this._globalSearchKey = document.getElementById("globalSearchKey");
    this._resumeKey = document.getElementById("resumeKey");
    this._stepOverKey = document.getElementById("stepOverKey");
    this._stepInKey = document.getElementById("stepInKey");
    this._stepOutKey = document.getElementById("stepOutKey");
    this._resumeButton = document.getElementById("resume");
    this._stepOverButton = document.getElementById("step-over");
    this._stepInButton = document.getElementById("step-in");
    this._stepOutButton = document.getElementById("step-out");
    this._scriptsSearchbox = document.getElementById("scripts-search");
    this._globalOperatorLabel = document.getElementById("global-operator-label");
    this._globalOperatorButton = document.getElementById("global-operator-button");
    this._tokenOperatorLabel = document.getElementById("token-operator-label");
    this._tokenOperatorButton = document.getElementById("token-operator-button");
    this._lineOperatorLabel = document.getElementById("line-operator-label");
    this._lineOperatorButton = document.getElementById("line-operator-button");
  }
function DV_cacheView ( ) { this . _onTogglePanesButtonPressed = this . _onTogglePanesButtonPressed . bind ( this ) ; this . _togglePanesButton = document . getElementById ( "toggle-panes" ) ; this . _stackframesAndBreakpoints = document . getElementById ( "stackframes+breakpoints" ) ; this . _stackframes = document . getElementById ( "stackframes" ) ; this . _breakpoints = document . getElementById ( "breakpoints" ) ; this . _variables = document . getElementById ( "variables" ) ; this . _scripts = document . getElementById ( "scripts" ) ; this . _globalSearch = document . getElementById ( "globalsearch" ) ; this . _globalSearchSplitter = document . getElementById ( "globalsearch-splitter" ) ; this . _fileSearchKey = document . getElementById ( "fileSearchKey" ) ; this . _lineSearchKey = document . getElementById ( "lineSearchKey" ) ; this . _tokenSearchKey = document . getElementById ( "tokenSearchKey" ) ; this . _globalSearchKey = document . getElementById ( "globalSearchKey" ) ; this . _resumeKey = document . getElementById ( "resumeKey" ) ; this . _stepOverKey = document . getElementById ( "stepOverKey" ) ; this . _stepInKey = document . getElementById ( "stepInKey" ) ; this . _stepOutKey = document . getElementById ( "stepOutKey" ) ; this . _resumeButton = document . getElementById ( "resume" ) ; this . _stepOverButton = document . getElementById ( "step-over" ) ; this . _stepInButton = document . getElementById ( "step-in" ) ; this . _stepOutButton = document . getElementById ( "step-out" ) ; this . _scriptsSearchbox = document . getElementById ( "scripts-search" ) ; this . _globalOperatorLabel = document . getElementById ( "global-operator-label" ) ; this . _globalOperatorButton = document . getElementById ( "global-operator-button" ) ; this . _tokenOperatorLabel = document . getElementById ( "token-operator-label" ) ; this . _tokenOperatorButton = document . getElementById ( "token-operator-button" ) ; this . _lineOperatorLabel = document . getElementById ( "line-operator-label" ) ; this . _lineOperatorButton = document . getElementById ( "line-operator-button" ) ; }
Caches frequently used global view elements.
Caches frequently used global view elements .
// Panes and view containers // Keys // Buttons, textboxes etc.