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

Side by Side Diff: chrome/renderer/resources/click_to_play_plugin.html

Issue 9187061: Preliminary implementation of Google-style dialogs in ash::internal::DialogFrameView (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 11 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 function debug(msg) { 5 function debug(msg) {
6 document.getElementById('debug').textContent = msg; 6 document.getElementById('debug').textContent = msg;
7 } 7 }
8 </script> 8 </script>
9 <style> 9 <style>
10 body { 10 body {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 } 70 }
71 71
72 #close { 72 #close {
73 visibility: hidden; 73 visibility: hidden;
74 cursor: pointer; 74 cursor: pointer;
75 position: absolute; 75 position: absolute;
76 right: 3px; 76 right: 3px;
77 top: 3px; 77 top: 3px;
78 height: 14px; 78 height: 14px;
79 width: 14px; 79 width: 14px;
80 background-image: url("../../app/theme/close_bar.png"); 80 background-image: url("../../../ui/resources/close_bar.png");
81 background-position: right top; 81 background-position: right top;
82 background-repeat: no-repeat; 82 background-repeat: no-repeat;
83 } 83 }
84 84
85 #close:hover { 85 #close:hover {
86 background-image: url("../../app/theme/close_bar_h.png"); 86 background-image: url("../../../ui/resources/close_bar_h.png");
87 } 87 }
88 88
89 #close:active { 89 #close:active {
90 background-image: url("../../app/theme/close_bar_p.png"); 90 background-image: url("../../../ui/resources/close_bar_p.png");
91 } 91 }
92 92
93 </style> 93 </style>
94 </head> 94 </head>
95 95
96 <body id="t" onSelectStart="return false;"> 96 <body id="t" onSelectStart="return false;">
97 <div i18n-values="title:name" id="outer" onclick="plugin.load()"> 97 <div i18n-values="title:name" id="outer" onclick="plugin.load()">
98 <div id="inner"> 98 <div id="inner">
99 <div><img id="plugin_icon" src="plugin_blocked.png" /></div> 99 <div><img id="plugin_icon" src="plugin_blocked.png" /></div>
100 <h1 i18n-content="message">PLUGIN_LOAD</h1> 100 <h1 i18n-content="message">PLUGIN_LOAD</h1>
101 <p id="debug"> </p> 101 <p id="debug"> </p>
102 </div> 102 </div>
103 <div id="close" i18n-values="title:hide" onclick="event.stopPropagation(); plugi n.hide()" /> 103 <div id="close" i18n-values="title:hide" onclick="event.stopPropagation(); plugi n.hide()" />
104 </div> 104 </div>
105 <script> 105 <script>
106 size = document.getElementById('outer'); 106 size = document.getElementById('outer');
107 style = getComputedStyle(size); 107 style = getComputedStyle(size);
108 if (parseInt(style.width) < 32 && parseInt(style.height) < 32) { 108 if (parseInt(style.width) < 32 && parseInt(style.height) < 32) {
109 i = document.getElementById('close'); 109 i = document.getElementById('close');
110 i.parentNode.removeChild(i); 110 i.parentNode.removeChild(i);
111 } 111 }
112 </script> 112 </script>
113 </body> 113 </body>
114 </html> 114 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698