| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html i18n-values="dir:textdirection;" id="print-preview"> | 2 <html i18n-values="dir:textdirection;" id="print-preview"> |
| 3 |
| 3 <head> | 4 <head> |
| 4 <meta charset="utf-8"> | 5 <meta charset="utf-8"/> |
| 5 <title i18n-content="title"></title> | 6 <title i18n-content="title"></title> |
| 6 <link rel="icon" href="../../../app/theme/print_preview_favicon.png"> | 7 <link rel="icon" href="../../../app/theme/print_preview_favicon.png"> |
| 7 | 8 |
| 8 <link rel="stylesheet" href="margins.css"> | 9 <link rel="stylesheet" href="settings/margins.css"/> |
| 9 <link rel="stylesheet" href="print_preview.css"> | 10 <link rel="stylesheet" href="print_preview.css"/> |
| 10 <link rel="stylesheet" href="../shared/css/chrome_shared.css"> | 11 <link rel="stylesheet" href="../shared/css/chrome_shared.css"/> |
| 11 <link rel="stylesheet" href="../shared/css/throbber.css"> | 12 <link rel="stylesheet" href="../shared/css/throbber.css"/> |
| 12 <link rel="stylesheet" href="../shared/css/widgets.css"> | 13 <link rel="stylesheet" href="../shared/css/widgets.css"/> |
| 14 <link rel="stylesheet" href="search/destination_search.css"/> |
| 15 <link rel="stylesheet" href="search/destination_list.css"/> |
| 16 <link rel="stylesheet" href="search/destination_list_item.css"/> |
| 17 <link rel="stylesheet" href="search/search_box.css"/> |
| 18 <link rel="stylesheet" href="print_header.css"/> |
| 19 <link rel="stylesheet" href="settings/destination_settings.css"/> |
| 20 <link rel="stylesheet" href="settings/copies_settings.css"/> |
| 21 <link rel="stylesheet" href="settings/page_settings.css"/> |
| 22 <link rel="stylesheet" href="previewarea/preview_area.css"/> |
| 23 <link rel="stylesheet" href="../shared/css/overlay.css"/> |
| 13 | 24 |
| 14 <script src="chrome://resources/js/cr.js"></script> | 25 <script src="chrome://resources/js/cr.js"></script> |
| 15 <script src="chrome://resources/js/event_tracker.js"></script> | 26 <script src="chrome://resources/js/cr/event_target.js"></script> |
| 16 <script src="chrome://resources/js/local_strings.js"></script> | 27 <script src="chrome://resources/js/event_tracker.js"></script> |
| 17 <script src="chrome://resources/js/util.js"></script> | 28 <script src="chrome://resources/js/local_strings.js"></script> |
| 18 <script src="chrome://print/print_preview.js"></script> | 29 <script src="chrome://resources/js/util.js"></script> |
| 19 <script src="chrome://print/strings.js"></script> | 30 <script src="chrome://print/print_preview.js"></script> |
| 31 <script src="chrome://print/strings.js"></script> |
| 32 <script src="chrome://resources/js/i18n_template.js"></script> |
| 20 </head> | 33 </head> |
| 34 |
| 21 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> | 35 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> |
| 22 <div id="navbar-container"> | 36 <div id="navbar-container"> |
| 23 <header> | 37 <header> |
| 24 <h1 id="navbar-content-title" i18n-content="title"></h1> | 38 <h1 id="navbar-content-title" i18n-content="title"></h1> |
| 25 <div id="print-header"> | 39 <include src="print_header.html"/> |
| 26 <span id="print-summary"></span> | |
| 27 <div class="button-strip"> | |
| 28 <button id="print-button" i18n-content="printButton" class="default"> | |
| 29 </button> | |
| 30 <button id="cancel-button" i18n-content="cancelButton"></button> | |
| 31 </div> | |
| 32 </div> | |
| 33 </header> | 40 </header> |
| 34 <div id="settings"> | 41 <div id="settings"> |
| 35 <div id="destination-option" class="two-column visible"> | 42 <include src="settings/destination_settings.html"/> |
| 36 <h1 i18n-content="destinationLabel"></h1> | 43 <include src="settings/page_settings.html"/> |
| 37 <div class="right-column"> | 44 <include src="settings/copies_settings.html"/> |
| 38 <select id="printer-list"></select> | 45 <include src="settings/layout_settings.html"/> |
| 39 </div> | 46 <include src="settings/color_settings.html"/> |
| 47 <include src="settings/margin_settings.html"/> |
| 48 <include src="settings/header_footer_settings.html"/> |
| 49 </div> |
| 50 <div> |
| 51 <if expr="pp_ifdef('chromeos')"> |
| 52 <button id="system-dialog-link" |
| 53 class="link-button preview-link-button" |
| 54 i18n-content="cloudPrintDialogOption"></button> |
| 55 </if> |
| 56 <if expr="not pp_ifdef('chromeos')"> |
| 57 <button id="system-dialog-link" |
| 58 class="link-button preview-link-button" |
| 59 i18n-content="systemDialogOption"></button> |
| 60 </if> |
| 61 <div id="system-dialog-throbber" class="throbber" hidden></div> |
| 62 </div> |
| 63 <if expr="is_macosx"> |
| 64 <div> |
| 65 <button id="open-pdf-in-preview-link" |
| 66 class="link-button preview-link-button" |
| 67 i18n-content="openPdfInPreviewOption"></button> |
| 68 <div id="open-preview-app-throbber" class="throbber" hidden></div> |
| 40 </div> | 69 </div> |
| 41 <include src="page_settings.html"></include> | 70 </if> |
| 42 <include src="copies_settings.html"></include> | 71 </div> |
| 43 <include src="layout_settings.html"></include> | 72 <include src="previewarea/preview_area.html"/> |
| 44 <include src="color_settings.html"></include> | 73 <include src="search/destination_search.html"/> |
| 45 <include src="margin_settings.html"></include> | 74 |
| 46 <include src="header_footer_settings.html"></include> | 75 <!-- HTML Templates --> |
| 47 <div> | 76 <include src="search/destination_list.html"/> |
| 48 <if expr="pp_ifdef('chromeos')"> | 77 <include src="search/destination_list_item.html"/> |
| 49 <button id="system-dialog-link" | 78 <div id="log" |
| 50 class="link-button preview-link-button" | 79 style=" |
| 51 i18n-content="cloudPrintDialogOption"></button> | 80 position: absolute; |
| 52 </if> | 81 top: 20px; |
| 53 <if expr="not pp_ifdef('chromeos')"> | 82 left: 25%; |
| 54 <button id="system-dialog-link" | 83 padding: 8px; |
| 55 class="link-button preview-link-button" | 84 width: 400px; |
| 56 i18n-content="systemDialogOption"></button> | 85 height: 400px; |
| 57 </if> | 86 background-color: black; |
| 58 <div id="system-dialog-throbber" class="throbber" hidden></div> | 87 opacity: .8; |
| 88 color: white; |
| 89 overflow-y: auto; |
| 90 z-index: 2;"> |
| 59 </div> | 91 </div> |
| 60 <if expr="is_macosx"> | 92 <button id="clear-log-button" |
| 61 <div> | 93 style=" |
| 62 <button id="open-pdf-in-preview-link" | 94 position:absolute; |
| 63 class="link-button preview-link-button" | 95 top: 0px; |
| 64 i18n-content="openPdfInPreviewOption"></button> | 96 left: 25%; |
| 65 <div id="open-preview-app-throbber" class="throbber" hidden></div> | 97 opacity: .8; |
| 66 </div> | 98 z-index: 2; |
| 67 </if> | 99 ">Clear</button> |
| 68 </div> | |
| 69 </div> | |
| 70 <div id="mainview"> | |
| 71 <div id="overlay-layer" class="invisible"> | |
| 72 <div id="messages"> | |
| 73 <div id="dancing-dots-text" hidden> | |
| 74 <span id="loading"></span> | |
| 75 <span><span>.</span><span>.</span><span>.</span></span> | |
| 76 </div> | |
| 77 <div id="custom-message" hidden></div> | |
| 78 <div id="custom-message-with-dots" | |
| 79 class="message-with-dots" hidden></div> | |
| 80 <div id="error-action-area"> | |
| 81 <button id="error-button" hidden></button> | |
| 82 <div id="native-print-dialog-throbber" class="throbber" hidden></div> | |
| 83 </div> | |
| 84 </div> | |
| 85 </div> | |
| 86 </div> | |
| 87 <object id="dummy-viewer" | |
| 88 type="application/x-google-chrome-print-preview-pdf" | |
| 89 data="chrome://print/dummy.pdf"></object> | |
| 90 <script src="chrome://resources/js/i18n_template.js"></script> | |
| 91 <script src="chrome://resources/js/i18n_process.js"></script> | |
| 92 </body> | 100 </body> |
| 101 |
| 93 </html> | 102 </html> |
| OLD | NEW |