set screenMode(value) {
      this.screenMode_ = value;
      switch (this.screenMode_) {
        case ScreenMode.DEFAULT:
          $('signin-frame-dialog').hidden = false;
          $('signin-frame').hidden = false;
          $('offline-gaia').hidden = true;
          $('saml-interstitial').hidden = true;
          $('offline-ad-auth').hidden = true;
          break;
        case ScreenMode.OFFLINE:
          $('signin-frame-dialog').hidden = true;
          $('signin-frame').hidden = true;
          $('offline-gaia').hidden = false;
          $('saml-interstitial').hidden = true;
          $('offline-ad-auth').hidden = true;
          break;
        case ScreenMode.AD_AUTH:
          $('signin-frame-dialog').hidden = true;
          $('signin-frame').hidden = true;
          $('offline-gaia').hidden = true;
          $('saml-interstitial').hidden = true;
          $('offline-ad-auth').hidden = false;
          break;
        case ScreenMode.SAML_INTERSTITIAL:
          $('signin-frame-dialog').hidden = true;
          $('signin-frame').hidden = true;
          $('offline-gaia').hidden = true;
          $('saml-interstitial').hidden = false;
          $('offline-ad-auth').hidden = true;
          break;
      }
      this.updateSigninFrameContainers_();
      chrome.send('updateOfflineLogin', [this.isOffline()]);
      this.updateControlsState();
    }
/**
     * Sets the current screen mode and updates the visible elements
     * accordingly.
     * @param {integer} value The screen mode.
     */
Sets the current screen mode and updates the visible elements
accordingly.
@param {integer} value The screen mode.
Sets the current screen mode and updates the visible elements accordingly . @param { integer } value The screen mode .
set screenMode(value) {
      this.screenMode_ = value;
      switch (this.screenMode_) {
        case ScreenMode.DEFAULT:
          $('signin-frame-dialog').hidden = false;
          $('signin-frame').hidden = false;
          $('offline-gaia').hidden = true;
          $('saml-interstitial').hidden = true;
          $('offline-ad-auth').hidden = true;
          break;
        case ScreenMode.OFFLINE:
          $('signin-frame-dialog').hidden = true;
          $('signin-frame').hidden = true;
          $('offline-gaia').hidden = false;
          $('saml-interstitial').hidden = true;
          $('offline-ad-auth').hidden = true;
          break;
        case ScreenMode.AD_AUTH:
          $('signin-frame-dialog').hidden = true;
          $('signin-frame').hidden = true;
          $('offline-gaia').hidden = true;
          $('saml-interstitial').hidden = true;
          $('offline-ad-auth').hidden = false;
          break;
        case ScreenMode.SAML_INTERSTITIAL:
          $('signin-frame-dialog').hidden = true;
          $('signin-frame').hidden = true;
          $('offline-gaia').hidden = true;
          $('saml-interstitial').hidden = false;
          $('offline-ad-auth').hidden = true;
          break;
      }
      this.updateSigninFrameContainers_();
      chrome.send('updateOfflineLogin', [this.isOffline()]);
      this.updateControlsState();
    }
set screenMode ( value ) { this . screenMode_ = value ; switch ( this . screenMode_ ) { case ScreenMode . DEFAULT : $ ( 'signin-frame-dialog' ) . hidden = false ; $ ( 'signin-frame' ) . hidden = false ; $ ( 'offline-gaia' ) . hidden = true ; $ ( 'saml-interstitial' ) . hidden = true ; $ ( 'offline-ad-auth' ) . hidden = true ; break ; case ScreenMode . OFFLINE : $ ( 'signin-frame-dialog' ) . hidden = true ; $ ( 'signin-frame' ) . hidden = true ; $ ( 'offline-gaia' ) . hidden = false ; $ ( 'saml-interstitial' ) . hidden = true ; $ ( 'offline-ad-auth' ) . hidden = true ; break ; case ScreenMode . AD_AUTH : $ ( 'signin-frame-dialog' ) . hidden = true ; $ ( 'signin-frame' ) . hidden = true ; $ ( 'offline-gaia' ) . hidden = true ; $ ( 'saml-interstitial' ) . hidden = true ; $ ( 'offline-ad-auth' ) . hidden = false ; break ; case ScreenMode . SAML_INTERSTITIAL : $ ( 'signin-frame-dialog' ) . hidden = true ; $ ( 'signin-frame' ) . hidden = true ; $ ( 'offline-gaia' ) . hidden = true ; $ ( 'saml-interstitial' ) . hidden = false ; $ ( 'offline-ad-auth' ) . hidden = true ; break ; } this . updateSigninFrameContainers_ ( ) ; chrome . send ( 'updateOfflineLogin' , [ this . isOffline ( ) ] ) ; this . updateControlsState ( ) ; }
Sets the current screen mode and updates the visible elements
 accordingly.
Sets the current screen mode and updates the visible elements accordingly .