Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / installer / setup / eula / oem.js
blobe142911e2eef58d7a6a70f5e15b4c7cf06ebe2c0
1 function setInnerFrame() {
2 var inner_frame = window.dialogArguments;
3 if (inner_frame) {
4 document.getElementById('ifr').src = inner_frame;
8 function checkAccept(f) {
9 if (f.accept.checked) {
10 window.returnValue = 6;
11 } else {
12 window.returnValue = 1;
14 window.close();
17 function resize() {
18 var ifr = document.getElementById('ifr');
19 var footer = document.getElementById('footer');
21 ifr.height = footer.offsetTop - ifr.offsetTop;
22 setInnerFrame();
25 window.onresize = resize;
26 window.onload = resize;