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

Side by Side Diff: chrome/browser/resources/print_preview/print_preview.html

Issue 7348010: Added Header and Footer support using Skia (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed style issues. Added check to see if there is enough space to print headers and footers. Created 9 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html i18n-values="dir:textdirection;"> 2 <html i18n-values="dir:textdirection;">
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <title i18n-content="title"></title> 5 <title i18n-content="title"></title>
6 <link rel="icon" href="../../../app/theme/print_preview_favicon.png"> 6 <link rel="icon" href="../../../app/theme/print_preview_favicon.png">
7 <link rel="stylesheet" href="../webui.css"> 7 <link rel="stylesheet" href="../webui.css">
8 <link rel="stylesheet" href="chrome://resources/css/throbber.css"> 8 <link rel="stylesheet" href="chrome://resources/css/throbber.css">
9 <link rel="stylesheet" href="print_preview.css"> 9 <link rel="stylesheet" href="print_preview.css">
10 <script src="chrome://resources/js/local_strings.js"></script> 10 <script src="chrome://resources/js/local_strings.js"></script>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 <input id="color" type="radio" name="color"/> 49 <input id="color" type="radio" name="color"/>
50 <label for="color" i18n-content="optionColor"></label> 50 <label for="color" i18n-content="optionColor"></label>
51 </div> 51 </div>
52 <div> 52 <div>
53 <input id="bw" type="radio" name="color" checked/> 53 <input id="bw" type="radio" name="color" checked/>
54 <label for="bw" i18n-content="optionBw"></label> 54 <label for="bw" i18n-content="optionBw"></label>
55 </div> 55 </div>
56 </div> 56 </div>
57 </div> 57 </div>
58 <hr> 58 <hr>
59 <div id="options-option" class="two-column option visible">
dpapad 2011/07/19 15:38:04 I feel that the "options" label is really generic
Aayush Kumar 2011/07/19 18:37:19 Let me hold these changes off until we decide for
60 <h1 i18n-content="optionsLabel"></h1>
61 <div>
62 <input id="header-footer" type="checkbox" checked/>
63 <label for="header-footer" i18n-content="optionHeaderFooter">
64 </label>
65 </div>
66 </div>
67 <hr>
59 <div id="system-dialog-div"> 68 <div id="system-dialog-div">
60 <button id="system-dialog-link" class="link-button" 69 <button id="system-dialog-link" class="link-button"
61 i18n-content="systemDialogOption"></button> 70 i18n-content="systemDialogOption"></button>
62 <!-- TODO(dpapad): Investigate whey hidden attribute does not work. --> 71 <!-- TODO(dpapad): Investigate whey hidden attribute does not work. -->
63 <div id="system-dialog-throbber" class="throbber hidden"></div> 72 <div id="system-dialog-throbber" class="throbber hidden"></div>
64 </div> 73 </div>
65 </div> 74 </div>
66 </div> 75 </div>
67 <div id="mainview"> 76 <div id="mainview">
68 <div id="overlay-layer" class="invisible"> 77 <div id="overlay-layer" class="invisible">
69 <div id="messages"> 78 <div id="messages">
70 <div id="dancing-dots-text" class="hidden"> 79 <div id="dancing-dots-text" class="hidden">
71 <span id="loading" i18n-content="loading"></span> 80 <span id="loading" i18n-content="loading"></span>
72 <span><span>.</span><span>.</span><span>.</span></span> 81 <span><span>.</span><span>.</span><span>.</span></span>
73 </div> 82 </div>
74 <div id="error-text" class="hidden"></div> 83 <div id="error-text" class="hidden"></div>
75 <div id="error-action-area"> 84 <div id="error-action-area">
76 <button id="error-button" class="hidden"></button> 85 <button id="error-button" class="hidden"></button>
77 <div id="native-print-dialog-throbber" class="throbber hidden"></div> 86 <div id="native-print-dialog-throbber" class="throbber hidden"></div>
78 </div> 87 </div>
79 </div> 88 </div>
80 </div> 89 </div>
81 </div> 90 </div>
82 <object id="dummy-viewer" 91 <object id="dummy-viewer"
83 type="application/x-google-chrome-print-preview-pdf" 92 type="application/x-google-chrome-print-preview-pdf"
84 src="chrome://print/dummy.pdf"></object> 93 src="chrome://print/dummy.pdf"></object>
85 </body> 94 </body>
86 </html> 95 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698