OLD | NEW |
1 /* Copyright 2015 The Chromium Authors. All rights reserved. | 1 /* Copyright 2015 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 cr.define('sync.confirmation', function() { | 5 cr.define('sync.confirmation', function() { |
6 'use strict'; | 6 'use strict'; |
7 | 7 |
8 function onConfirm(e) { | 8 function onConfirm(e) { |
9 chrome.send('confirm'); | 9 chrome.send('confirm'); |
10 } | 10 } |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 } | 50 } |
51 | 51 |
52 return { | 52 return { |
53 clearFocus: clearFocus, | 53 clearFocus: clearFocus, |
54 initialize: initialize, | 54 initialize: initialize, |
55 setUserImageURL: setUserImageURL | 55 setUserImageURL: setUserImageURL |
56 }; | 56 }; |
57 }); | 57 }); |
58 | 58 |
59 document.addEventListener('DOMContentLoaded', sync.confirmation.initialize); | 59 document.addEventListener('DOMContentLoaded', sync.confirmation.initialize); |
OLD | NEW |