Lines Matching refs:this
2 // Use of this source code is governed by a BSD-style license that can be
6 * This view displays options for importing/exporting the captured data. Its
28 DivView.call(this, mainBoxId);
30 this.textPre_ = document.getElementById(outputTextBoxId);
35 this.onSetSecurityStripping_.bind(this, securityStrippingCheckbox);
39 this.onSetByteLogging_.bind(this, byteLoggingCheckbox);
42 exportTextButton.onclick = this.onExportToText_.bind(this);
44 this.activelyCapturedCountBox_ =
46 this.passivelyCapturedCountBox_ =
51 this.dumpDataDiv_ = document.getElementById(dumpDataDivId);
52 this.loadDataDiv_ = document.getElementById(loadDataDivId);
53 this.capturingTextSpan_ = document.getElementById(capturingTextSpanId);
54 this.loggingTextSpan_ = document.getElementById(loggingTextSpanId);
59 this.updateEventCounts_();
60 this.waitingForUpdate_ = false;
62 g_browser.addLogObserver(this);
71 this.updateEventCounts_();
79 this.updateEventCounts_();
86 this.updateEventCounts_();
95 setNodeDisplay(this.dumpDataDiv_, !isViewingLogFile);
96 setNodeDisplay(this.capturingTextSpan_, !isViewingLogFile);
97 setNodeDisplay(this.loggingTextSpan_, isViewingLogFile);
98 this.setText_('');
105 this.activelyCapturedCountBox_.innerText =
107 this.passivelyCapturedCountBox_.innerText =
136 this.setText_('');
144 if (this.waitingForUpdate_)
146 this.waitingForUpdate = true;
147 this.setText_('Generating...');
148 g_browser.updateAllInfo(this.onUpdateAllCompleted.bind(this));
159 this.waitingForUpdate_ = false;
219 text.push('Bad until: ' + this.formatExpirationTime_(e.bad_until));
255 text.push('Valid until: ' + this.formatExpirationTime_(e.expiration));
270 this.appendEventsPrintedAsText_(text);
288 this.appendSocketPoolsAsText_(text, data.socketPoolInfo);
375 // Open a new window to display this text.
376 this.setText_(text.join('\n'));
378 this.selectText_();
451 * Helper function to set this view's content to |text|.
454 this.textPre_.innerHTML = '';
455 addTextNode(this.textPre_, text);
475 range.selectNodeContents(this.textPre_);