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

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: Rebased and moved PrintHeaderAndFooter to private member function. Created 9 years, 4 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 27 matching lines...) Expand all
38 </div> 38 </div>
39 <hr> 39 <hr>
40 <include src="page_settings.html"></include> 40 <include src="page_settings.html"></include>
41 <hr id="hr-before-copies" class="invisible"> 41 <hr id="hr-before-copies" class="invisible">
42 <include src="copies_settings.html"></include> 42 <include src="copies_settings.html"></include>
43 <hr> 43 <hr>
44 <include src="layout_settings.html"></include> 44 <include src="layout_settings.html"></include>
45 <hr> 45 <hr>
46 <include src="color_settings.html"></include> 46 <include src="color_settings.html"></include>
47 <hr> 47 <hr>
48 <div id="options-option" class="two-column option visible">
49 <h1 i18n-content="optionsLabel"></h1>
50 <div>
51 <input id="header-footer" type="checkbox" checked/>
52 <label for="header-footer" i18n-content="optionHeaderFooter">
53 </label>
dpapad 2011/07/28 20:26:00 Nit: </label> can fit in previous line.
Aayush Kumar 2011/07/29 00:21:46 Done.
54 </div>
55 </div>
56 <hr id="options-horizontal-separator">
48 <div id="system-dialog-div"> 57 <div id="system-dialog-div">
49 <button id="system-dialog-link" class="link-button" 58 <button id="system-dialog-link" class="link-button"
50 i18n-content="systemDialogOption"></button> 59 i18n-content="systemDialogOption"></button>
51 <!-- TODO(dpapad): Investigate whey hidden attribute does not work. --> 60 <!-- TODO(dpapad): Investigate whey hidden attribute does not work. -->
52 <div id="system-dialog-throbber" class="throbber hidden"></div> 61 <div id="system-dialog-throbber" class="throbber hidden"></div>
53 </div> 62 </div>
54 </div> 63 </div>
55 </div> 64 </div>
56 <div id="mainview"> 65 <div id="mainview">
57 <div id="overlay-layer" class="invisible"> 66 <div id="overlay-layer" class="invisible">
58 <div id="messages"> 67 <div id="messages">
59 <div id="dancing-dots-text" class="hidden"> 68 <div id="dancing-dots-text" class="hidden">
60 <span id="loading" i18n-content="loading"></span> 69 <span id="loading" i18n-content="loading"></span>
61 <span><span>.</span><span>.</span><span>.</span></span> 70 <span><span>.</span><span>.</span><span>.</span></span>
62 </div> 71 </div>
63 <div id="error-text" class="hidden"></div> 72 <div id="error-text" class="hidden"></div>
64 <div id="error-action-area"> 73 <div id="error-action-area">
65 <button id="error-button" class="hidden"></button> 74 <button id="error-button" class="hidden"></button>
66 <div id="native-print-dialog-throbber" class="throbber hidden"></div> 75 <div id="native-print-dialog-throbber" class="throbber hidden"></div>
67 </div> 76 </div>
68 </div> 77 </div>
69 </div> 78 </div>
70 </div> 79 </div>
71 <object id="dummy-viewer" 80 <object id="dummy-viewer"
72 type="application/x-google-chrome-print-preview-pdf" 81 type="application/x-google-chrome-print-preview-pdf"
73 src="chrome://print/dummy.pdf"></object> 82 src="chrome://print/dummy.pdf"></object>
74 </body> 83 </body>
75 </html> 84 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698