Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5638)

Unified Diff: chrome/browser/resources/print_preview/common/overlay.js

Issue 2861713004: Print Preview: Fix compile errors in settings/ directory (Closed)
Patch Set: Address comments and fix remaining lint errors Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/print_preview/data/print_ticket_store.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/print_preview/common/overlay.js
diff --git a/chrome/browser/resources/print_preview/common/overlay.js b/chrome/browser/resources/print_preview/common/overlay.js
index c918f09dc5f6a449781f25e73e6e2328dc84db22..fc2f1b8607d811da9db79248e6f263dbeced8054 100644
--- a/chrome/browser/resources/print_preview/common/overlay.js
+++ b/chrome/browser/resources/print_preview/common/overlay.js
@@ -7,26 +7,16 @@ cr.define('print_preview', function() {
/**
* Modal dialog base component.
- * @param {!print_preview.MetricsContext} metricsContext Metrics
- * context to record usage statistics.
* @constructor
* @extends {print_preview.Component}
*/
- function Overlay(metricsContext) {
+ function Overlay() {
print_preview.Component.call(this);
-
- /** @private {!print_preview.MetricsContext} */
- this.metricsContext_ = metricsContext;
};
Overlay.prototype = {
__proto__: print_preview.Component.prototype,
- /** @return {!print_preview.MetricsContext} */
- get metricsContext() {
- return this.metricsContext_;
- },
-
/** @override */
enterDocument: function() {
print_preview.Component.prototype.enterDocument.call(this);
« no previous file with comments | « no previous file | chrome/browser/resources/print_preview/data/print_ticket_store.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698