| Index: chrome/browser/resources/profile_signin_confirmation.js
|
| diff --git a/chrome/browser/resources/profile_signin_confirmation.js b/chrome/browser/resources/profile_signin_confirmation.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2364beac2d54898fd276a374a7c3f9fbfdca593c
|
| --- /dev/null
|
| +++ b/chrome/browser/resources/profile_signin_confirmation.js
|
| @@ -0,0 +1,27 @@
|
| +cr.define('profile_signin_confirmation', function() {
|
| + 'use strict';
|
| +
|
| + function initialize() {
|
| + var args = JSON.parse(chrome.getVariableValue('dialogArguments'));
|
| + $('dialogMessage').textContent = loadTimeData.getStringF(
|
| + 'dialogMessage', args.username);
|
| + $('dialogPrompt').textContent = loadTimeData.getStringF(
|
| + 'dialogPrompt', args.username);
|
| + $('createButton').addEventListener('click', function() {
|
| + chrome.send('createNewProfile');
|
| + });
|
| + $('continueButton').addEventListener('click', function() {
|
| + chrome.send('continue');
|
| + });
|
| + $('cancelButton').addEventListener('click', function() {
|
| + chrome.send('cancel');
|
| + });
|
| + }
|
| +
|
| + return {
|
| + initialize: initialize
|
| + };
|
| +});
|
| +
|
| +document.addEventListener('DOMContentLoaded',
|
| + profile_signin_confirmation.initialize);
|
|
|