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..52b4c49e863d2c24e3da43d936e0c53d6babde44 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.downloadPDF()">View PDF</a> |
Lei Zhang
2017/07/07 17:45:45
Since this uses JS, does that mean if the user has
Lei Zhang
2017/07/07 17:45:45
I'm still curious what happens if the href is siml
amberwon
2017/07/07 20:44:22
It still seems to work, though not entirely sure w
amberwon
2017/07/07 20:44:22
Links don't seem to open within the placeholder.
|
+ </div> |
</body> |
</html> |