updatePageInfo(printableArea, pageSize, hasCssMediaStyles, margins) {
      if (this.isInitialized_ &&
          (!this.printableArea_.equals(printableArea) ||
           !this.pageSize_.equals(pageSize) ||
           this.hasCssMediaStyles_ != hasCssMediaStyles ||
           this.margins_ == null || !this.margins_.equals(margins))) {
        this.printableArea_ = printableArea;
        this.pageSize_ = pageSize;
        this.hasCssMediaStyles_ = hasCssMediaStyles;
        this.margins_ = margins;
        cr.dispatchSimpleEvent(this, DocumentInfo.EventType.CHANGE);
      }
    }
/**
     * Updates information about each page and dispatches a CHANGE event.
     * @param {!print_preview.PrintableArea} printableArea Printable area of the
     *     document in points.
     * @param {!print_preview.Size} pageSize Size of the pages of the document
     *     in points.
     * @param {boolean} hasCssMediaStyles Whether the document is styled by CSS
     *     media styles.
     * @param {print_preview.Margins} margins Margins of the document in points.
     */
Updates information about each page and dispatches a CHANGE event.
@param {!print_preview.PrintableArea} printableArea Printable area of the
document in points.
@param {!print_preview.Size} pageSize Size of the pages of the document
in points.
@param {boolean} hasCssMediaStyles Whether the document is styled by CSS
media styles.
@param {print_preview.Margins} margins Margins of the document in points.
Updates information about each page and dispatches a CHANGE event . @param { !print_preview . PrintableArea } printableArea Printable area of the document in points . @param { !print_preview . Size } pageSize Size of the pages of the document in points . @param { boolean } hasCssMediaStyles Whether the document is styled by CSS media styles . @param { print_preview . Margins } margins Margins of the document in points .
updatePageInfo(printableArea, pageSize, hasCssMediaStyles, margins) {
      if (this.isInitialized_ &&
          (!this.printableArea_.equals(printableArea) ||
           !this.pageSize_.equals(pageSize) ||
           this.hasCssMediaStyles_ != hasCssMediaStyles ||
           this.margins_ == null || !this.margins_.equals(margins))) {
        this.printableArea_ = printableArea;
        this.pageSize_ = pageSize;
        this.hasCssMediaStyles_ = hasCssMediaStyles;
        this.margins_ = margins;
        cr.dispatchSimpleEvent(this, DocumentInfo.EventType.CHANGE);
      }
    }
updatePageInfo ( printableArea , pageSize , hasCssMediaStyles , margins ) { if ( this . isInitialized_ && ( ! this . printableArea_ . equals ( printableArea ) || ! this . pageSize_ . equals ( pageSize ) || this . hasCssMediaStyles_ != hasCssMediaStyles || this . margins_ == null || ! this . margins_ . equals ( margins ) ) ) { this . printableArea_ = printableArea ; this . pageSize_ = pageSize ; this . hasCssMediaStyles_ = hasCssMediaStyles ; this . margins_ = margins ; cr . dispatchSimpleEvent ( this , DocumentInfo . EventType . CHANGE ) ; } }
Updates information about each page and dispatches a CHANGE event.
Updates information about each page and dispatches a CHANGE event .