| Index: chrome/browser/resources/options/spelling_confirm_overlay.js
|
| diff --git a/chrome/browser/resources/options/spelling_confirm_overlay.js b/chrome/browser/resources/options/spelling_confirm_overlay.js
|
| deleted file mode 100644
|
| index 2458d0c21831e9cdcbca475d89aa5fdb3d768e9d..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/resources/options/spelling_confirm_overlay.js
|
| +++ /dev/null
|
| @@ -1,53 +0,0 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -cr.define('options', function() {
|
| - var SettingsDialog = options.SettingsDialog;
|
| -
|
| - /*
|
| - * SpellingConfirmOverlay class
|
| - * Dialog to confirm that the user really wants to use the Spelling service
|
| - * @extends {SettingsDialog}
|
| - */
|
| - function SpellingConfirmOverlay() {
|
| - SettingsDialog.call(
|
| - this,
|
| - 'spellingConfirm',
|
| - loadTimeData.getString('spellingConfirmOverlayTabTitle'),
|
| - 'spelling-confirm-overlay',
|
| - $('spelling-confirm-ok'),
|
| - $('spelling-confirm-cancel'));
|
| - };
|
| -
|
| - cr.addSingletonGetter(SpellingConfirmOverlay);
|
| -
|
| - SpellingConfirmOverlay.prototype = {
|
| - __proto__: SettingsDialog.prototype,
|
| -
|
| - /** @inheritDoc */
|
| - initializePage: function() {
|
| - SettingsDialog.prototype.initializePage.call(this);
|
| - },
|
| -
|
| - /** @inheritDoc */
|
| - handleConfirm: function() {
|
| - SettingsDialog.prototype.handleConfirm.call(this);
|
| - Preferences.setBooleanPref('spellcheck.use_spelling_service',
|
| - true, true);
|
| - Preferences.setBooleanPref('spellcheck.confirm_dialog_shown',
|
| - true, true);
|
| - },
|
| -
|
| - /** @inheritDoc */
|
| - handleCancel: function() {
|
| - SettingsDialog.prototype.handleCancel.call(this);
|
| - $('spelling-enabled-control').checked = false;
|
| - },
|
| - };
|
| -
|
| - // Export
|
| - return {
|
| - SpellingConfirmOverlay: SpellingConfirmOverlay
|
| - };
|
| -});
|
|
|