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

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

Issue 8425008: PrintPreview:[MAC] Added "Open PDF In Preview" option to open the pdf in native preview app. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Added a check to fix the TestErrorMessage unit test Created 9 years, 1 month 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;" id="print-preview"> 2 <html i18n-values="dir:textdirection;" id="print-preview">
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 7
8 <link rel="stylesheet" href="margins.css"> 8 <link rel="stylesheet" href="margins.css">
9 <link rel="stylesheet" href="print_preview.css"> 9 <link rel="stylesheet" href="print_preview.css">
10 <link rel="stylesheet" href="../shared/css/button.css"> 10 <link rel="stylesheet" href="../shared/css/button.css">
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 </div> 42 </div>
43 </div> 43 </div>
44 <include src="page_settings.html"></include> 44 <include src="page_settings.html"></include>
45 <include src="copies_settings.html"></include> 45 <include src="copies_settings.html"></include>
46 <include src="layout_settings.html"></include> 46 <include src="layout_settings.html"></include>
47 <include src="color_settings.html"></include> 47 <include src="color_settings.html"></include>
48 <include src="margin_settings.html"></include> 48 <include src="margin_settings.html"></include>
49 <include src="header_footer_settings.html"></include> 49 <include src="header_footer_settings.html"></include>
50 <div> 50 <div>
51 <if expr="pp_ifdef('chromeos')"> 51 <if expr="pp_ifdef('chromeos')">
52 <button id="system-dialog-link" class="link-button" 52 <button id="system-dialog-link"
53 class="link-button preview-link-button"
53 i18n-content="cloudPrintDialogOption"></button> 54 i18n-content="cloudPrintDialogOption"></button>
54 </if> 55 </if>
55 <if expr="not pp_ifdef('chromeos')"> 56 <if expr="not pp_ifdef('chromeos')">
56 <button id="system-dialog-link" class="link-button" 57 <button id="system-dialog-link"
58 class="link-button preview-link-button"
57 i18n-content="systemDialogOption"></button> 59 i18n-content="systemDialogOption"></button>
58 </if> 60 </if>
59 <div id="system-dialog-throbber" class="throbber" hidden></div> 61 <div id="system-dialog-throbber" class="throbber" hidden></div>
60 </div> 62 </div>
63 <if expr="os == 'darwin'">
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>
69 </div>
70 </if>
61 </div> 71 </div>
62 </div> 72 </div>
63 <div id="mainview"> 73 <div id="mainview">
64 <div id="overlay-layer" class="invisible"> 74 <div id="overlay-layer" class="invisible">
65 <div id="messages"> 75 <div id="messages">
66 <div id="dancing-dots-text" hidden> 76 <div id="dancing-dots-text" hidden>
67 <span id="loading"></span> 77 <span id="loading"></span>
68 <span><span>.</span><span>.</span><span>.</span></span> 78 <span><span>.</span><span>.</span><span>.</span></span>
69 </div> 79 </div>
70 <div id="custom-message" hidden></div> 80 <div id="custom-message" hidden></div>
71 <div id="custom-message-with-dots" 81 <div id="custom-message-with-dots"
72 class="message-with-dots" hidden></div> 82 class="message-with-dots" hidden></div>
73 <div id="error-action-area"> 83 <div id="error-action-area">
74 <button id="error-button" hidden></button> 84 <button id="error-button" hidden></button>
75 <div id="native-print-dialog-throbber" class="throbber" hidden></div> 85 <div id="native-print-dialog-throbber" class="throbber" hidden></div>
76 </div> 86 </div>
77 </div> 87 </div>
78 </div> 88 </div>
79 </div> 89 </div>
80 <object id="dummy-viewer" 90 <object id="dummy-viewer"
81 type="application/x-google-chrome-print-preview-pdf" 91 type="application/x-google-chrome-print-preview-pdf"
82 data="chrome://print/dummy.pdf"></object> 92 data="chrome://print/dummy.pdf"></object>
83 <script src="chrome://resources/js/i18n_template.js"></script> 93 <script src="chrome://resources/js/i18n_template.js"></script>
84 <script src="chrome://resources/js/i18n_process.js"></script> 94 <script src="chrome://resources/js/i18n_process.js"></script>
85 </body> 95 </body>
86 </html> 96 </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