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