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

Unified Diff: chrome/browser/resources/settings/clear_browsing_data_dialog/history_deletion_dialog.js

Issue 2098633002: Migrate the one-time notice into the MD settings CBD dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_counters
Patch Set: Initialize to false. Created 4 years, 6 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
Index: chrome/browser/resources/settings/clear_browsing_data_dialog/history_deletion_dialog.js
diff --git a/chrome/browser/resources/settings/clear_browsing_data_dialog/history_deletion_dialog.js b/chrome/browser/resources/settings/clear_browsing_data_dialog/history_deletion_dialog.js
new file mode 100644
index 0000000000000000000000000000000000000000..82a6b340d5defdc0912dd1e4bc298bdc0a4a0caa
--- /dev/null
+++ b/chrome/browser/resources/settings/clear_browsing_data_dialog/history_deletion_dialog.js
@@ -0,0 +1,27 @@
+// Copyright 2016 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.
+
+/**
+ * @fileoverview 'settings-history-deletion-dialog' is a dialog that is
+ * optionally shown inside settings-clear-browsing-data-dialog after deleting
+ * browsing history. It informs the user about the existence of other forms
+ * of browsing history in their account.
+ */
+Polymer({
+ is: 'settings-history-deletion-dialog',
+
+ /** @override */
+ ready: function() {
+ this.$.dialog.open();
+ },
+
+ /**
+ * Tap handler for the "OK" buton.
+ * @private
+ */
+ onOkTap_: function() {
+ this.$.dialog.close();
+ },
+});
+

Powered by Google App Engine
This is Rietveld 408576698