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

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: '' 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 </div> 43 </div>
44 </div> 44 </div>
45 <include src="page_settings.html"></include> 45 <include src="page_settings.html"></include>
46 <include src="copies_settings.html"></include> 46 <include src="copies_settings.html"></include>
47 <include src="layout_settings.html"></include> 47 <include src="layout_settings.html"></include>
48 <include src="color_settings.html"></include> 48 <include src="color_settings.html"></include>
49 <include src="margin_settings.html"></include> 49 <include src="margin_settings.html"></include>
50 <include src="header_footer_settings.html"></include> 50 <include src="header_footer_settings.html"></include>
51 <div> 51 <div>
52 <if expr="pp_ifdef('chromeos')"> 52 <if expr="pp_ifdef('chromeos')">
53 <button id="system-dialog-link" class="link-button" 53 <button id="system-dialog-link"
54 class="link-button preview-link-button"
54 i18n-content="cloudPrintDialogOption"></button> 55 i18n-content="cloudPrintDialogOption"></button>
55 </if> 56 </if>
56 <if expr="not pp_ifdef('chromeos')"> 57 <if expr="not pp_ifdef('chromeos')">
57 <button id="system-dialog-link" class="link-button" 58 <button id="system-dialog-link"
59 class="link-button preview-link-button"
58 i18n-content="systemDialogOption"></button> 60 i18n-content="systemDialogOption"></button>
59 </if> 61 </if>
60 <div id="system-dialog-throbber" class="throbber" hidden></div> 62 <div id="system-dialog-throbber" class="throbber" hidden></div>
61 </div> 63 </div>
64 <if expr="os == 'darwin'">
65 <div>
66 <button id="open-pdf-in-preview-link"
67 class="link-button preview-link-button"
68 i18n-content="openPdfInPreviewOption"></button>
69 <div id="open-preview-app-throbber" class="throbber" hidden></div>
70 </div>
71 </if>
62 </div> 72 </div>
63 </div> 73 </div>
64 <div id="mainview"> 74 <div id="mainview">
65 <div id="overlay-layer" class="invisible"> 75 <div id="overlay-layer" class="invisible">
66 <div id="messages"> 76 <div id="messages">
67 <div id="dancing-dots-text" hidden> 77 <div id="dancing-dots-text" hidden>
68 <span id="loading"></span> 78 <span id="loading"></span>
69 <span><span>.</span><span>.</span><span>.</span></span> 79 <span><span>.</span><span>.</span><span>.</span></span>
70 </div> 80 </div>
71 <div id="custom-message" hidden></div> 81 <div id="custom-message" hidden></div>
72 <div id="custom-message-with-dots" 82 <div id="custom-message-with-dots"
73 class="message-with-dots" hidden></div> 83 class="message-with-dots" hidden></div>
74 <div id="error-action-area"> 84 <div id="error-action-area">
75 <button id="error-button" hidden></button> 85 <button id="error-button" hidden></button>
76 <div id="native-print-dialog-throbber" class="throbber" hidden></div> 86 <div id="native-print-dialog-throbber" class="throbber" hidden></div>
77 </div> 87 </div>
78 </div> 88 </div>
79 </div> 89 </div>
80 </div> 90 </div>
81 <object id="dummy-viewer" 91 <object id="dummy-viewer"
82 type="application/x-google-chrome-print-preview-pdf" 92 type="application/x-google-chrome-print-preview-pdf"
83 data="chrome://print/dummy.pdf"></object> 93 data="chrome://print/dummy.pdf"></object>
84 <script src="chrome://resources/js/i18n_template.js"></script> 94 <script src="chrome://resources/js/i18n_template.js"></script>
85 <script src="chrome://resources/js/i18n_process.js"></script> 95 <script src="chrome://resources/js/i18n_process.js"></script>
86 </body> 96 </body>
87 </html> 97 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698