Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / browser / resources / chromeos / merge_session_load.html
blobb2b308977c708600184dab1be5a3a1254e0f8354
1 <!doctype html>
2 <html i18n-values="dir:textdirection;lang:language">
3 <head>
4 <title i18n-content="title">
5 </title>
6 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
7 <style>
8 html {
9 height: 100%;
11 body {
12 -webkit-user-select: none;
13 background: white;
14 color: #000;
15 display: -webkit-box;
16 height: 100%;
17 margin: 0;
18 padding: 0;
19 visibility: hidden;
20 width: 100%;
23 .header {
24 padding: 3px;
25 width: 80%;
27 </style>
29 <script>
31 function sendCommand(cmd) {
32 window.domAutomationController.setAutomationId(1);
33 window.domAutomationController.send(cmd);
36 // Show the interstitial page.
37 function showPage() {
38 document.body.style.visibility = 'visible';
41 // Show the interstitial page.
42 function forceLoad() {
43 sendCommand('proceed');
46 document.addEventListener('DOMContentLoaded', function() {
47 var showDelayTime = loadTimeData.getString('show_delay_time');
48 var totalWaitTime = loadTimeData.getString('total_wait_time');
49 window.setTimeout(showPage, showDelayTime);
50 window.setTimeout(forceLoad, totalWaitTime);
51 });
52 </script>
54 <body oncontextmenu="return false;">
55 <div class="header" i18n-content="heading" id="mgs">
56 </div>
57 </body>
58 </html>