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

Unified Diff: chrome/browser/resources/md_bookmarks/command_manager.html

Issue 2945513002: MD Bookmarks: Add a confirmation dialog before opening many tabs (Closed)
Patch Set: Rebase Created 3 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/md_bookmarks/command_manager.html
diff --git a/chrome/browser/resources/md_bookmarks/command_manager.html b/chrome/browser/resources/md_bookmarks/command_manager.html
index 1a875725109eafd2003957919496f5f57a04191d..eb491db367a761ea70e8d789c72265c76bb3181e 100644
--- a/chrome/browser/resources/md_bookmarks/command_manager.html
+++ b/chrome/browser/resources/md_bookmarks/command_manager.html
@@ -26,6 +26,22 @@
<template is="cr-lazy-render" id="editDialog">
<bookmarks-edit-dialog></bookmarks-edit-dialog>
</template>
+ <template is="cr-lazy-render" id="openDialog">
+ <dialog is="cr-dialog">
+ <div class="title">$i18n{openDialogTitle}</div>
+ <div class="body">
+ [[confirmOpenString_]]
+ </div>
+ <div class="button-container">
+ <paper-button class="cancel-button" on-tap="onOpenCancelTap_">
+ $i18n{cancel}
+ </paper-button>
+ <paper-button class="action-button" on-tap="onOpenConfirmTap_">
+ $i18n{openDialogConfirm}
+ </paper-button>
+ </div>
+ </dialog>
+ </template>
</template>
<script src="chrome://bookmarks/command_manager.js"></script>
</dom-module>

Powered by Google App Engine
This is Rietveld 408576698