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

Unified Diff: chrome/browser/resources/settings/clear_browsing_data_dialog/other_forms_of_browsing_history_notice.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: 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/other_forms_of_browsing_history_notice.js
diff --git a/chrome/browser/resources/settings/clear_browsing_data_dialog/other_forms_of_browsing_history_notice.js b/chrome/browser/resources/settings/clear_browsing_data_dialog/other_forms_of_browsing_history_notice.js
new file mode 100644
index 0000000000000000000000000000000000000000..8149fbf73eefc66a6ae6a305430d0a5ece98bb17
--- /dev/null
+++ b/chrome/browser/resources/settings/clear_browsing_data_dialog/other_forms_of_browsing_history_notice.js
@@ -0,0 +1,28 @@
+// 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-other-forms-of-browsing-history-notice' is
+ * a dialog shown inside settings-clear-browsing-data-dialog to inform
+ * the user about the existence of other forms of browsing history in
+ * their account, if applicable.
+ */
+Polymer({
+ is: 'settings-other-forms-of-browsing-history-notice',
+
+ /** @override */
+ ready: function() {
+ this.$.dialog.open();
+ },
+
+ /**
+ * Tap handler for the "OK" buton.
+ * @private
+ */
+ onOkTap_: function() {
+ this.$.dialog.close();
+ this.fire('closed');
+ }
+});
+

Powered by Google App Engine
This is Rietveld 408576698