OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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('options', function() { | 5 cr.define('options', function() { |
6 /** @const */ var PageManager = cr.ui.pageManager.PageManager; | 6 /** @const */ var PageManager = cr.ui.pageManager.PageManager; |
7 /** @const */ var SettingsDialog = options.SettingsDialog; | 7 /** @const */ var SettingsDialog = options.SettingsDialog; |
8 | 8 |
9 /** | 9 /** |
10 * HomePageOverlay class | 10 * HomePageOverlay class |
11 * Dialog that allows users to set the home page. | 11 * Dialog that allows users to set the home page. |
| 12 * @constructor |
12 * @extends {SettingsDialog} | 13 * @extends {SettingsDialog} |
13 */ | 14 */ |
14 function ThirdPartyImeConfirmOverlay() { | 15 function ThirdPartyImeConfirmOverlay() { |
15 SettingsDialog.call( | 16 SettingsDialog.call( |
16 this, 'thirdPartyImeConfirm', | 17 this, 'thirdPartyImeConfirm', |
17 loadTimeData.getString('thirdPartyImeConfirmOverlayTabTitle'), | 18 loadTimeData.getString('thirdPartyImeConfirmOverlayTabTitle'), |
18 'third-party-ime-confirm-overlay', | 19 'third-party-ime-confirm-overlay', |
19 $('third-party-ime-confirm-ok'), | 20 $('third-party-ime-confirm-ok'), |
20 $('third-party-ime-confirm-cancel')); | 21 $('third-party-ime-confirm-cancel')); |
21 } | 22 } |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 */ | 81 */ |
81 ThirdPartyImeConfirmOverlay.showConfirmationDialog = function(data) { | 82 ThirdPartyImeConfirmOverlay.showConfirmationDialog = function(data) { |
82 ThirdPartyImeConfirmOverlay.getInstance().showConfirmationDialog_(data); | 83 ThirdPartyImeConfirmOverlay.getInstance().showConfirmationDialog_(data); |
83 }; | 84 }; |
84 | 85 |
85 // Export | 86 // Export |
86 return { | 87 return { |
87 ThirdPartyImeConfirmOverlay: ThirdPartyImeConfirmOverlay | 88 ThirdPartyImeConfirmOverlay: ThirdPartyImeConfirmOverlay |
88 }; | 89 }; |
89 }); | 90 }); |
OLD | NEW |