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'); |
+ } |
+}); |
+ |