| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 var PARENT_PAGE = 'chrome://oobe/'; | 5 var PARENT_PAGE = 'chrome://oobe/'; |
| 6 | 6 |
| 7 var msg = { | 7 var msg = { |
| 8 'method': 'loginUILoaded' | 8 'method': 'loginUILoaded' |
| 9 }; | 9 }; |
| 10 window.parent.postMessage(msg, PARENT_PAGE); | 10 window.parent.postMessage(msg, PARENT_PAGE); |
| 11 | 11 |
| 12 var msg = { | 12 var msg = { |
| 13 'method': 'completeLogin', | 13 'method': 'completeLogin', |
| 14 'email': 'test@test.test', | 14 'email': 'test@test.test', |
| 15 'password': '' | 15 'password': '' |
| 16 }; | 16 }; |
| 17 window.parent.postMessage(msg, PARENT_PAGE); | 17 window.parent.postMessage(msg, PARENT_PAGE); |
| OLD | NEW |