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 * @constructor |
13 * @extends {SettingsDialog} | 13 * @extends {options.SettingsDialog} |
14 */ | 14 */ |
15 function ThirdPartyImeConfirmOverlay() { | 15 function ThirdPartyImeConfirmOverlay() { |
16 SettingsDialog.call( | 16 SettingsDialog.call( |
17 this, 'thirdPartyImeConfirm', | 17 this, 'thirdPartyImeConfirm', |
18 loadTimeData.getString('thirdPartyImeConfirmOverlayTabTitle'), | 18 loadTimeData.getString('thirdPartyImeConfirmOverlayTabTitle'), |
19 'third-party-ime-confirm-overlay', | 19 'third-party-ime-confirm-overlay', |
20 $('third-party-ime-confirm-ok'), | 20 $('third-party-ime-confirm-ok'), |
21 $('third-party-ime-confirm-cancel')); | 21 $('third-party-ime-confirm-cancel')); |
22 } | 22 } |
23 | 23 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 */ | 81 */ |
82 ThirdPartyImeConfirmOverlay.showConfirmationDialog = function(data) { | 82 ThirdPartyImeConfirmOverlay.showConfirmationDialog = function(data) { |
83 ThirdPartyImeConfirmOverlay.getInstance().showConfirmationDialog_(data); | 83 ThirdPartyImeConfirmOverlay.getInstance().showConfirmationDialog_(data); |
84 }; | 84 }; |
85 | 85 |
86 // Export | 86 // Export |
87 return { | 87 return { |
88 ThirdPartyImeConfirmOverlay: ThirdPartyImeConfirmOverlay | 88 ThirdPartyImeConfirmOverlay: ThirdPartyImeConfirmOverlay |
89 }; | 89 }; |
90 }); | 90 }); |
OLD | NEW |