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

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

Issue 7202012: Print Preview: Display a throbber when the user requests the system print (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fix. 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="print_preview.css"> 9 <link rel="stylesheet" href="print_preview.css">
9 <script src="chrome://resources/js/local_strings.js"></script> 10 <script src="chrome://resources/js/local_strings.js"></script>
10 <script src="chrome://resources/js/cr.js"></script> 11 <script src="chrome://resources/js/cr.js"></script>
11 <script src="chrome://resources/js/util.js"></script> 12 <script src="chrome://resources/js/util.js"></script>
12 <script src="print_preview.js"></script> 13 <script src="print_preview.js"></script>
13 <script src="print_preview_animations.js"></script> 14 <script src="print_preview_animations.js"></script>
14 <script src="print_preview_utils.js"></script> 15 <script src="print_preview_utils.js"></script>
15 </head> 16 </head>
16 <body> 17 <body>
17 <div class="sidebar"> 18 <div id="sidebar">
18 <header> 19 <header>
19 <h1 i18n-content="title"></h1> 20 <h1 i18n-content="title"></h1>
20 <div id="print-header"> 21 <div id="print-header">
21 <span id="print-summary"></span> 22 <span id="print-summary"></span>
22 <button id="print-button" i18n-content="printButton" class="default" 23 <button id="print-button" i18n-content="printButton" class="default">
23 autofocus></button> 24 </button>
24 <button id="cancel-button" i18n-content="cancelButton"></button> 25 <button id="cancel-button" i18n-content="cancelButton"></button>
25 </div> 26 </div>
26 </header> 27 </header>
27 <div id="main"> 28 <div id="main">
28 <div id="destination-option" class="two-column"> 29 <div id="destination-option" class="two-column">
29 <h1 i18n-content="destinationLabel"></h1> 30 <h1 i18n-content="destinationLabel"></h1>
30 <select id="printer-list"></select> 31 <select id="printer-list"></select>
31 </div> 32 </div>
32 <hr> 33 <hr>
33 <div class="two-column"> 34 <div class="two-column">
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 <label for="color" i18n-content="optionColor"></label> 99 <label for="color" i18n-content="optionColor"></label>
99 </div> 100 </div>
100 <div> 101 <div>
101 <input id="bw" type="radio" name="color" checked/> 102 <input id="bw" type="radio" name="color" checked/>
102 <label for="bw" i18n-content="optionBw"></label> 103 <label for="bw" i18n-content="optionBw"></label>
103 </div> 104 </div>
104 </div> 105 </div>
105 </div> 106 </div>
106 <hr> 107 <hr>
107 <div id="system-dialog-div"> 108 <div id="system-dialog-div">
108 <a id="system-dialog-link" href="#" 109 <button id="system-dialog-link" class="link-button"
109 i18n-content="systemDialogOption"></a> 110 i18n-content="systemDialogOption"></button>
111 <!-- TODO(dpapad): Investigate whey hidden attribute does not work. -->
112 <div id="system-dialog-throbber" class="throbber hidden"></div>
110 </div> 113 </div>
111 </div> 114 </div>
112 </div> 115 </div>
113 <div id="mainview"> 116 <div id="mainview">
114 <div id="overlay-layer" class="invisible"> 117 <div id="overlay-layer" class="invisible">
115 <div id="messages"> 118 <div id="messages">
116 <div id="dancing-dots-text" class="hidden"> 119 <div id="dancing-dots-text" class="hidden">
117 <span id="loading" i18n-content="loading"></span> 120 <span id="loading" i18n-content="loading"></span>
118 <span><span>.</span><span>.</span><span>.</span></span> 121 <span><span>.</span><span>.</span><span>.</span></span>
119 </div> 122 </div>
120 <div id="error-text" class="hidden"></div> 123 <div id="error-text" class="hidden"></div>
121 <br> 124 <div id="error-action-area">
122 <button id="error-button" class="hidden"></button> 125 <button id="error-button" class="hidden"></button>
126 <div id="native-print-dialog-throbber" class="throbber hidden"></div>
127 </div>
123 </div> 128 </div>
124 </div> 129 </div>
125 </div> 130 </div>
126 <object id="dummy-viewer" 131 <object id="dummy-viewer"
127 type="application/x-google-chrome-print-preview-pdf" 132 type="application/x-google-chrome-print-preview-pdf"
128 src="chrome://print/dummy.pdf"/> 133 src="chrome://print/dummy.pdf"></object>
129 </body> 134 </body>
130 </html> 135 </html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/print_preview/print_preview.css ('k') | chrome/browser/resources/print_preview/print_preview.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698