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

Side by Side Diff: chrome/renderer/resources/plugins/prefer_html_plugin.html

Issue 2348693003: [HBD] Placeholder for Flash content without fallback. (Closed)
Patch Set: address comments Created 4 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, user-scalable=no">
6 <script>
7 function setMessage(msg) {
8 document.getElementById('message').textContent = msg;
9 }
10 function notifyDidFinishLoading() {
11 if (plugin.didFinishLoading)
12 plugin.didFinishLoading();
13
14 if (plugin.didFinishIconRepositionForTesting)
15 plugin.didFinishIconRepositionForTesting();
16 }
17 </script>
18 <link rel="stylesheet" href="plugin_placeholders.css"></link>
19 <style>
20 #outer {
21 cursor: pointer;
22 }
23 </style>
24 </head>
25 <body id="t" onload="notifyDidFinishLoading();">
26 <div i18n-values="title:name" id="outer">
27 <img class="icon"
28 src="../../../../ui/webui/resources/images/extension.svg">
29 <h1 id="message" i18n-content="message"></h1>
30 </div>
31 <script>
32 window.onkeydown = function(e) {
33 if (e.key == 'Enter' || e.key == ' ') {
34 plugin.showPermissionBubble();
35 e.preventDefault();
36 }
37 };
38
39 document.getElementById('outer').onclick = function() {
40 plugin.showPermissionBubble();
41 };
42 </script>
43 </body>
44 </html>
OLDNEW
« no previous file with comments | « chrome/renderer/plugins/chrome_plugin_placeholder.cc ('k') | chrome/renderer/resources/renderer_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698