| Index: chrome/browser/resources/options/instant_confirm_overlay.js
|
| diff --git a/chrome/browser/resources/options/instant_confirm_overlay.js b/chrome/browser/resources/options/instant_confirm_overlay.js
|
| deleted file mode 100644
|
| index db0a37ef2b4ec63ac3ab12b22f2e68f8150f0689..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/resources/options/instant_confirm_overlay.js
|
| +++ /dev/null
|
| @@ -1,50 +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;
|
| -
|
| - /*
|
| - * InstantConfirmOverlay class
|
| - * Dialog to confirm that the user really wants to enable Chrome Instant.
|
| - * @extends {SettingsDialog}
|
| - */
|
| - function InstantConfirmOverlay() {
|
| - SettingsDialog.call(this,
|
| - 'instantConfirm',
|
| - loadTimeData.getString('instantConfirmOverlayTabTitle'),
|
| - 'instantConfirmOverlay',
|
| - $('instantConfirmOk'),
|
| - $('instantConfirmCancel'));
|
| - };
|
| -
|
| - cr.addSingletonGetter(InstantConfirmOverlay);
|
| -
|
| - InstantConfirmOverlay.prototype = {
|
| - __proto__: SettingsDialog.prototype,
|
| -
|
| - /** @inheritDoc */
|
| - initializePage: function() {
|
| - SettingsDialog.prototype.initializePage.call(this);
|
| - },
|
| -
|
| - /** @inheritDoc */
|
| - handleConfirm: function() {
|
| - SettingsDialog.prototype.handleConfirm.call(this);
|
| - Preferences.setBooleanPref('instant.confirm_dialog_shown', true, true);
|
| - Preferences.setBooleanPref('instant.enabled', true, true);
|
| - },
|
| -
|
| - /** @inheritDoc */
|
| - handleCancel: function() {
|
| - SettingsDialog.prototype.handleCancel.call(this);
|
| - $('instant-enabled-control').checked = false;
|
| - },
|
| - };
|
| -
|
| - // Export
|
| - return {
|
| - InstantConfirmOverlay: InstantConfirmOverlay
|
| - };
|
| -});
|
|
|