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/mobile_youtube_plugin.html

Issue 596253002: Don't use setFixedLayoutSize in WebViewPlugin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 name="viewport" content="width=device-width, user-scalable=no">
4 <script> 5 <script>
5 function insertBackground() { 6 function insertBackground() {
6 var video = templateData['video_id']; 7 var video = templateData['video_id'];
7 document.body.style.backgroundImage = "url('http://img.youtube.com/vi/" + vide o + "/0.jpg')"; 8 document.body.style.backgroundImage = "url('http://img.youtube.com/vi/" + vide o + "/0.jpg')";
8 } 9 }
9 </script> 10 </script>
10 <style type="text/css"> 11 <style type="text/css">
11 body { 12 body {
12 background-color: black; 13 background-color: black;
13 background-repeat: no-repeat; 14 background-repeat: no-repeat;
(...skipping 22 matching lines...) Expand all
36 #youtube { 37 #youtube {
37 opacity: .7; 38 opacity: .7;
38 } 39 }
39 </style> 40 </style>
40 </head> 41 </head>
41 <body id="body" onLoad="insertBackground()"> 42 <body id="body" onLoad="insertBackground()">
42 <div id="logo"><img id="youtube" src="youtube.png"/></div> 43 <div id="logo"><img id="youtube" src="youtube.png"/></div>
43 <div id="inner"><img id="play" src="play.png" onclick="plugin.openYoutubeURL();" /></div> 44 <div id="inner"><img id="play" src="play.png" onclick="plugin.openYoutubeURL();" /></div>
44 </body> 45 </body>
45 </html> 46 </html>
OLDNEW
« no previous file with comments | « chrome/renderer/resources/disabled_plugin.html ('k') | components/plugins/renderer/webview_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698