Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / resources / chromeos / merge_session_load.html
blobf0307e6255010b8c595f895cde5b71cf697a5c69
1 <!DOCTYPE html>
2 <html i18n-values="dir:textdirection">
3 <head>
4 <title i18n-content="title">
5 </title>
6 <style>
7 html {
8 height: 100%;
10 body {
11 -webkit-user-select: none;
12 background: white;
13 color: #000;
14 display: -webkit-box;
15 font-family: arial, sans-serif;
16 height: 100%;
17 margin: 0;
18 padding: 0;
19 visibility: hidden;
20 width: 100%;
23 .header {
24 font-family: Sans-serif;
25 padding: 3px;
26 width: 80%;
28 </style>
29 <script src="../../../../ui/webui/resources/js/local_strings.js"></script>
31 <script>
32 var localStrings = new LocalStrings();
34 function sendCommand(cmd) {
35 window.domAutomationController.setAutomationId(1);
36 window.domAutomationController.send(cmd);
39 // Show the interstitial page.
40 function showPage() {
41 document.body.style.visibility = 'visible';
44 // Show the interstitial page.
45 function forceLoad() {
46 sendCommand('proceed');
49 document.addEventListener('DOMContentLoaded', function() {
50 var showDelayTime = localStrings.getString('show_delay_time');
51 var totalWaitTime = localStrings.getString('total_wait_time');
52 window.setTimeout(showPage, showDelayTime);
53 window.setTimeout(forceLoad, totalWaitTime);
54 });
55 </script>
57 <body oncontextmenu="return false;">
58 <div class="header" i18n-content="heading" id="mgs">
59 </div>
60 </body>
61 </html>