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

Side by Side Diff: chrome/browser/resources/chromeos/merge_session_load.html

Issue 2503453003: Remove all calls to domAutomationController.setAutomationId.
Patch Set: Fix nacl_browsertest_util.cc Created 3 years, 5 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 i18n-values="dir:textdirection;lang:language"> 2 <html i18n-values="dir:textdirection;lang:language">
3 <head> 3 <head>
4 <title i18n-content="title"> 4 <title i18n-content="title">
5 </title> 5 </title>
6 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> 6 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
7 <style> 7 <style>
8 html { 8 html {
9 height: 100%; 9 height: 100%;
10 } 10 }
(...skipping 11 matching lines...) Expand all
22 22
23 .header { 23 .header {
24 padding: 3px; 24 padding: 3px;
25 width: 80%; 25 width: 80%;
26 } 26 }
27 </style> 27 </style>
28 28
29 <script> 29 <script>
30 30
31 function sendCommand(cmd) { 31 function sendCommand(cmd) {
32 window.domAutomationController.setAutomationId(1);
33 window.domAutomationController.send(cmd); 32 window.domAutomationController.send(cmd);
34 } 33 }
35 34
36 // Show the interstitial page. 35 // Show the interstitial page.
37 function showPage() { 36 function showPage() {
38 document.body.style.visibility = 'visible'; 37 document.body.style.visibility = 'visible';
39 } 38 }
40 39
41 // Show the interstitial page. 40 // Show the interstitial page.
42 function forceLoad() { 41 function forceLoad() {
43 sendCommand('proceed'); 42 sendCommand('proceed');
44 } 43 }
45 44
46 document.addEventListener('DOMContentLoaded', function() { 45 document.addEventListener('DOMContentLoaded', function() {
47 var showDelayTime = loadTimeData.getString('show_delay_time'); 46 var showDelayTime = loadTimeData.getString('show_delay_time');
48 var totalWaitTime = loadTimeData.getString('total_wait_time'); 47 var totalWaitTime = loadTimeData.getString('total_wait_time');
49 window.setTimeout(showPage, showDelayTime); 48 window.setTimeout(showPage, showDelayTime);
50 window.setTimeout(forceLoad, totalWaitTime); 49 window.setTimeout(forceLoad, totalWaitTime);
51 }); 50 });
52 </script> 51 </script>
53 52
54 <body oncontextmenu="return false;"> 53 <body oncontextmenu="return false;">
55 <div class="header" i18n-content="heading" id="mgs"> 54 <div class="header" i18n-content="heading" id="mgs">
56 </div> 55 </div>
57 </body> 56 </body>
58 </html> 57 </html>
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc ('k') | chrome/browser/resources/chromeos/neterror.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698