Index: chrome/browser/resources/md_bookmarks/toast_manager.html |
diff --git a/chrome/browser/resources/md_bookmarks/toast_manager.html b/chrome/browser/resources/md_bookmarks/toast_manager.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..52eb1d29975222f79a12a5dcbce7ac1c0581a752 |
--- /dev/null |
+++ b/chrome/browser/resources/md_bookmarks/toast_manager.html |
@@ -0,0 +1,35 @@ |
+<link rel="import" href="chrome://resources/html/polymer.html"> |
+ |
+<link rel="import" href="chrome://resources/cr_elements/cr_toast/cr_toast.html"> |
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html"> |
+<link rel="import" href="chrome://bookmarks/shared_style.html"> |
+ |
+<dom-module id="bookmarks-toast-manager"> |
+ <template> |
+ <style include="shared-style"> |
+ #content { |
+ flex: 1; |
+ margin-right: 32px; |
+ overflow: hidden; |
+ text-overflow: ellipsis; |
+ white-space: nowrap; |
+ } |
+ |
+ paper-button { |
+ color: var(--google-blue-300); |
+ font-weight: 500; |
+ height: 32px; |
+ margin: 0; |
+ min-width: 52px; |
+ padding: 8px; |
+ } |
+ </style> |
+ <cr-toast id="toast" duration="5000"> |
+ <div id="content"></div> |
+ <paper-button id="button" hidden$="[[!showUndo_]]" on-tap="onUndoTap_"> |
+ $i18n{undo} |
+ </paper-button> |
+ </cr-toast> |
+ </template> |
+ <script src="chrome://bookmarks/toast_manager.js"></script> |
+</dom-module> |