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

Unified Diff: chrome/browser/resources/print_preview/native_layer.js

Issue 1809213002: Remove hidePrintWithSystemDialog disableability (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/print_preview.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/print_preview/native_layer.js
diff --git a/chrome/browser/resources/print_preview/native_layer.js b/chrome/browser/resources/print_preview/native_layer.js
index 7bda60e6c3bfdcab42359eac4f12d3a8514214a3..2cf0eaf6ea1985bab321b1cae6adc48290cdbcf3 100644
--- a/chrome/browser/resources/print_preview/native_layer.js
+++ b/chrome/browser/resources/print_preview/native_layer.js
@@ -481,7 +481,6 @@ cr.define('print_preview', function() {
var nativeInitialSettings = new print_preview.NativeInitialSettings(
initialSettings['printAutomaticallyInKioskMode'] || false,
initialSettings['appKioskMode'] || false,
- initialSettings['hidePrintWithSystemDialogLink'] || false,
numberFormatSymbols[0] || ',',
numberFormatSymbols[1] || '.',
unitType,
@@ -938,7 +937,6 @@ cr.define('print_preview', function() {
function NativeInitialSettings(
isInKioskAutoPrintMode,
isInAppKioskMode,
- hidePrintWithSystemDialogLink,
thousandsDelimeter,
decimalDelimeter,
unitType,
@@ -965,13 +963,6 @@ cr.define('print_preview', function() {
this.isInAppKioskMode_ = isInAppKioskMode;
/**
- * Whether we should hide the link which shows the system print dialog.
- * @type {boolean}
- * @private
- */
- this.hidePrintWithSystemDialogLink_ = hidePrintWithSystemDialogLink;
-
- /**
* Character delimeter of thousands digits.
* @type {string}
* @private
@@ -1059,14 +1050,6 @@ cr.define('print_preview', function() {
return this.isInAppKioskMode_;
},
- /**
- * @return {boolean} Whether we should hide the link which shows the
- system print dialog.
- */
- get hidePrintWithSystemDialogLink() {
- return this.hidePrintWithSystemDialogLink_;
- },
-
/** @return {string} Character delimeter of thousands digits. */
get thousandsDelimeter() {
return this.thousandsDelimeter_;
« no previous file with comments | « no previous file | chrome/browser/resources/print_preview/print_preview.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698