Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!doctype html> | |
| 2 <html i18n-values="dir:textdirection;lang:language"> | |
| 3 <head> | |
| 4 <meta charset="utf-8"> | |
| 5 <title i18n-content="title"></title> | |
| 6 <if expr="is_android or is_ios"> | |
| 7 <meta name="viewport" content="width=device-width, user-scalable=no"> | |
| 8 </if> | |
| 9 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> | |
| 10 <link rel="stylesheet" href="chrome://physical-web/physical_web.css"> | |
| 11 | |
| 12 <if expr="is_ios"> | |
| 13 <!-- TODO(crbug.com/487000): Remove this once injected by web. --> | |
| 14 <script src="chrome://resources/js/ios/web_ui.js"></script> | |
| 15 </if> | |
| 16 | |
| 17 <script src="chrome://resources/js/load_time_data.js"></script> | |
| 18 <script src="chrome://resources/js/util.js"></script> | |
| 19 <script src="chrome://physical-web/physical_web.js"></script> | |
| 20 <script src="chrome://physical-web/strings.js"></script> | |
| 21 </head> | |
| 22 <body> | |
| 23 <div id="body-container" style="visibility:visible"> | |
| 24 | |
| 25 <h1 i18n-content="title"></h1> | |
| 26 | |
| 27 <a class="physicalWebTemplate" id="physicalWebTemplate" jsvalues="href:resolve dUrl" jsselect="metadata"> | |
| 28 <div class="physicalWebIcon"> | |
| 29 <img jsvalues="src:icon" /> | |
|
Jackie Quinn
2016/08/30 22:37:24
I'm not familiar with jsvalues as an attribute...
mattreynolds
2016/08/30 23:33:23
Yeah, it works fine for me on iOS.
| |
| 30 </div> | |
| 31 <div class="physicalWebText"> | |
| 32 <div class="title" jscontent="title"></div> | |
| 33 <div class="resolvedUrl" jscontent="resolvedUrl"></div> | |
| 34 <div class="description" jscontent="description"></div> | |
| 35 </div> | |
| 36 </a> | |
| 37 | |
| 38 </div> | |
| 39 | |
| 40 <script src="chrome://resources/js/i18n_template.js"></script> | |
| 41 <script src="chrome://resources/js/jstemplate_compiled.js"></script> | |
| 42 </body> | |
| 43 </html> | |
| OLD | NEW |