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

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

Issue 2143073002: Plugin Power Saver: Improve blocked tiny plugins behavior (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename a variable again Created 4 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 unified diff | Download patch
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, user-scalable=no"> 5 <meta name="viewport" content="width=device-width, user-scalable=no">
6 <if expr="not is_android"> 6 <if expr="not is_android">
7 <script> 7 <script>
8 function setMessage(msg) { 8 function setMessage(msg) {
9 document.getElementById('message').textContent = msg; 9 document.getElementById('message').textContent = msg;
10 } 10 }
11 function notifyDidFinishLoading() { 11 function notifyDidFinishLoading() {
12 if (plugin.didFinishLoading) 12 if (plugin.didFinishLoading)
13 plugin.didFinishLoading(); 13 plugin.didFinishLoading();
14
15 if (plugin.didFinishIconRepositionForTesting)
16 plugin.didFinishIconRepositionForTesting();
14 } 17 }
15 </script> 18 </script>
16 </if> 19 </if>
17 <if expr="is_android"> 20 <if expr="is_android">
18 <script> 21 <script>
19 function notifyDidFinishLoading() {} 22 function notifyDidFinishLoading() {}
20 </script> 23 </script>
21 </if> 24 </if>
22 <link rel="stylesheet" href="plugin_placeholders.css"></link> 25 <link rel="stylesheet" href="plugin_placeholders.css"></link>
23 <style> 26 <style>
(...skipping 17 matching lines...) Expand all
41 <img id="plugin_icon" src="plugin_blocked_android.png"> 44 <img id="plugin_icon" src="plugin_blocked_android.png">
42 </if> 45 </if>
43 <h1 id="message" i18n-content="message"></h1> 46 <h1 id="message" i18n-content="message"></h1>
44 </div> 47 </div>
45 <div id="close" i18n-values="title:hide;data-plugin-type:pluginType" 48 <div id="close" i18n-values="title:hide;data-plugin-type:pluginType"
46 onclick="plugin.hide();"> 49 onclick="plugin.hide();">
47 </div> 50 </div>
48 </div> 51 </div>
49 </body> 52 </body>
50 </html> 53 </html>
OLDNEW
« no previous file with comments | « chrome/renderer/plugins/power_saver_info.cc ('k') | chrome/renderer/resources/plugins/plugin_delay.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698