OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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('cr.ui.dialogs', function() { | 5 cr.define('cr.ui.dialogs', function() { |
6 | 6 |
7 function BaseDialog(parentNode) { | 7 function BaseDialog(parentNode) { |
8 this.parentNode_ = parentNode; | 8 this.parentNode_ = parentNode; |
9 this.document_ = parentNode.ownerDocument; | 9 this.document_ = parentNode.ownerDocument; |
10 | 10 |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 this.onOk_(this.getValue()); | 226 this.onOk_(this.getValue()); |
227 }; | 227 }; |
228 | 228 |
229 return { | 229 return { |
230 BaseDialog: BaseDialog, | 230 BaseDialog: BaseDialog, |
231 AlertDialog: AlertDialog, | 231 AlertDialog: AlertDialog, |
232 ConfirmDialog: ConfirmDialog, | 232 ConfirmDialog: ConfirmDialog, |
233 PromptDialog: PromptDialog | 233 PromptDialog: PromptDialog |
234 }; | 234 }; |
235 }); | 235 }); |
OLD | NEW |