Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: chrome/browser/resources/options/options.js

Issue 14189011: Remove instant confirmation dialog that is displayed the first time the instant checkbox is clicked. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove prefs::InstantConfirmDialogShown Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/options/options.html ('k') | chrome/browser/search/search.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/options.js
diff --git a/chrome/browser/resources/options/options.js b/chrome/browser/resources/options/options.js
index 599b07c1df8a9c7a80a590a2bd707e508f008325..26cde3eb1d719343a7863c5bbd5c96b877efc69c 100644
--- a/chrome/browser/resources/options/options.js
+++ b/chrome/browser/resources/options/options.js
@@ -86,17 +86,6 @@ function load() {
$('do-not-track-enabled').pref,
$('do-not-track-enabled').metric),
BrowserOptions.getInstance());
- OptionsPage.registerOverlay(
- new ConfirmDialog(
- 'instantConfirm',
- loadTimeData.getString('instantConfirmOverlayTabTitle'),
- 'instantConfirmOverlay',
- $('instantConfirmOk'),
- $('instantConfirmCancel'),
- $('instant-enabled-control').pref,
- $('instant-enabled-control').metric,
- 'instant.confirm_dialog_shown'),
- BrowserOptions.getInstance());
// 'spelling-enabled-control' element is only present on Chrome branded
// builds.
if ($('spelling-enabled-control')) {
« no previous file with comments | « chrome/browser/resources/options/options.html ('k') | chrome/browser/search/search.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698