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

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..ed0f3c6d629492525d10138ea34bba44ee1dc828 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="0" i18n-content="optionBw"></option>
+ <option value="1" i18n-content="optionColor"></option>
</select>
</div>
</section>
@@ -79,8 +79,5 @@
<p id="no-plugin" class="hidden" i18n-content="noPlugin"></p>
</div>
-<script>
-console.log('in bottom script');
-</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698