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

Side by Side Diff: chrome/test/data/printing/cloud_print_uitest.html

Issue 1697183002: Revert of Cleanup: Remove unused PrintSettings shrink factors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | components/printing/browser/print_manager_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Cloud Print Dialog unittest</title> 4 <title>Cloud Print Dialog unittest</title>
5 <script language="javascript"> 5 <script language="javascript">
6 window.onload = onLoad; 6 window.onload = onLoad;
7 7
8 function onLoad() { 8 function onLoad() {
9 } 9 }
10 10
11 function testPageSetup() { 11 function testPageSetup() {
12 var result = JSON.stringify({'dpi': 300, 12 var result = JSON.stringify({'dpi': 300,
13 'min_shrink': 1.25,
14 'max_shrink': 2.0,
13 'selection_only': false}); 15 'selection_only': false});
14 chrome.send('SetPageParameters', [result]); 16 chrome.send('SetPageParameters', [result]);
15 } 17 }
16 18
17 function testWindowPrint() { 19 function testWindowPrint() {
18 window.print(); 20 window.print();
19 } 21 }
20 22
21 function testWindowClose() { 23 function testWindowClose() {
22 window.close(); 24 window.close();
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 <td align='right'> 69 <td align='right'>
68 <input type='button' value='Cancel' id='cancel' 70 <input type='button' value='Cancel' id='cancel'
69 onclick='testWindowClose();'/> 71 onclick='testWindowClose();'/>
70 </td> 72 </td>
71 </tr> 73 </tr>
72 </table> 74 </table>
73 <div id='message' style='font-weight:bolder;'>&nbsp;</div> 75 <div id='message' style='font-weight:bolder;'>&nbsp;</div>
74 <div id='advanced' class='advanced' style='display:none;'></div> 76 <div id='advanced' class='advanced' style='display:none;'></div>
75 </body> 77 </body>
76 </html> 78 </html>
OLDNEW
« no previous file with comments | « no previous file | components/printing/browser/print_manager_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698