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

Unified Diff: chrome/browser/resources/print_preview.html

Issue 6533006: Print Preview: Hook up the print button to initiate printing without displaying a print dialog. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: '' Created 9 years, 10 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
Index: chrome/browser/resources/print_preview.html
diff --git a/chrome/browser/resources/print_preview.html b/chrome/browser/resources/print_preview.html
index b9163315801f0ea3ed6ff5b26ef62ed7478cff91..eb10c9eaa751f58b0bb50fd9fd81ecd6b14a090f 100644
--- a/chrome/browser/resources/print_preview.html
+++ b/chrome/browser/resources/print_preview.html
@@ -25,7 +25,7 @@
<section>
<h3>Pages</h3>
<div>
- <input id="pages" type="textbox"></input>
+ <input id="pages" type="text"></input>
<label>
<input id="all-pages" type="checkbox">
<span i18n-content="optionAllPages"></span>
@@ -42,7 +42,7 @@
<section>
<h3>Copies</h3>
<div>
- <input id="copies" type="textbox"></input>
+ <input id="copies" type="text" value="1"></input>
<div>
<label>
<input id="collate" type="checkbox">
@@ -56,8 +56,8 @@
<h3>Layout</h3>
<div>
<select id="layout">
- <option i18n-content="optionPortrait"></option>
- <option i18n-content="optionLandscape"></option>
+ <option value="0" i18n-content="optionPortrait"></option>
+ <option value="1" i18n-content="optionLandscape"></option>
</select>
</div>
</section>
@@ -66,8 +66,8 @@
<h3>Color</h3>
<div>
<select id="color">
- <option i18n-content="optionColor"></option>
- <option i18n-content="optionBw"></option>
+ <option value="1" i18n-content="optionColor"></option>
James Hawkins 2011/02/16 22:58:21 Why is the order reversed for the values?
kmadhusu 2011/02/17 19:20:31 Fixed.
+ <option value="0" i18n-content="optionBw"></option>
</select>
</div>
</section>

Powered by Google App Engine
This is Rietveld 408576698