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

Unified Diff: chrome/renderer/resources/plugins/pdf_plugin.html

Issue 2972123002: Click to Open PDF: Open PDF once View PDF is clicked. (Closed)
Patch Set: Grammar Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/plugins/pdf_plugin_placeholder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/resources/plugins/pdf_plugin.html
diff --git a/chrome/renderer/resources/plugins/pdf_plugin.html b/chrome/renderer/resources/plugins/pdf_plugin.html
index 914903256e23004722191ddb0e02493b9dd3798a..b39c738417354f77b41f866f0a0ed1b2d1599c91 100644
--- a/chrome/renderer/resources/plugins/pdf_plugin.html
+++ b/chrome/renderer/resources/plugins/pdf_plugin.html
@@ -2,8 +2,13 @@
<html>
<head>
<meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, user-scalable=no">
</head>
<body>
<!-- TODO(amberwon): Add html with the finalized UI. -->
+ <div i18n-values="title:name">
+ <p id="fileName">$i18n{fileName}</p>
+ <a href="#" onclick="plugin.openPDF()">View PDF</a>
+ </div>
</body>
</html>
« no previous file with comments | « chrome/renderer/plugins/pdf_plugin_placeholder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698