constructor(
      onResendClick, onCancelClick, opt_tosCallback, opt_privacyPolicyCallback,
      opt_domHelper) {
    // Extend base page class and render email not received soy template.
    super(
        firebaseui.auth.soy2.page.emailNotReceived, undefined, opt_domHelper,
        'emailNotReceived', {
          tosCallback: opt_tosCallback,
          privacyPolicyCallback: opt_privacyPolicyCallback
        });
    this.onResendClick_ = onResendClick;
    this.onCancelClick_ = onCancelClick;
  }
@param {function()} onResendClick Callback to invoke when the resend link
    is clicked.
@param {function()} onCancelClick Callback to invoke when the cancel button
    is clicked.
@param {?function()=} opt_tosCallback Callback to invoke when the ToS link
    is clicked.
@param {?function()=} opt_privacyPolicyCallback Callback to invoke when the
    Privacy Policy link is clicked.
@param {?goog.dom.DomHelper=} opt_domHelper Optional DOM helper.