| Index: chrome/browser/resources/md_bookmarks/toolbar.html
|
| diff --git a/chrome/browser/resources/md_bookmarks/toolbar.html b/chrome/browser/resources/md_bookmarks/toolbar.html
|
| index 75f566fbd5da421bac9b3a87b6dbe83ad9341079..0e20eabee8675fe4438d9f95db3d3ceb574a3029 100644
|
| --- a/chrome/browser/resources/md_bookmarks/toolbar.html
|
| +++ b/chrome/browser/resources/md_bookmarks/toolbar.html
|
| @@ -1,5 +1,6 @@
|
| <link rel="import" href="chrome://resources/html/polymer.html">
|
| <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action_menu.html">
|
| +<link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html">
|
| <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar.html">
|
| <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button-light.html">
|
| <link rel="import" href="chrome://bookmarks/shared_style.html">
|
| @@ -7,7 +8,7 @@
|
|
|
| <dom-module id="bookmarks-toolbar">
|
| <template>
|
| - <style include="shared-style">
|
| + <style include="shared-style cr-shared-style">
|
| button.more-actions {
|
| margin: 4px;
|
| }
|
| @@ -43,6 +44,28 @@
|
| $i18n{menuExport}
|
| </button>
|
| </dialog>
|
| + <dialog is="cr-dialog" id="addBookmark">
|
| + <div class="title">[[getModalTitle_(createdNode)]]</div>
|
| + <div class="body">
|
| + <paper-input always-float-label id="name"
|
| + label="$i18n{editDialogNameInput}"
|
| + value="{{createdNode.title}}">
|
| + </paper-input>
|
| + <paper-input always-float-label id="url"
|
| + hidden$="[[createdNode.isFolder]]"
|
| + label="$i18n{editDialogUrlInput}"
|
| + value="{{createdNode.url}}">
|
| + </paper-input>
|
| + </div>
|
| + <div class="button-container">
|
| + <paper-button class="cancel-button" on-tap="onCancelAddTap_">
|
| + $i18n{cancelEdit}
|
| + </paper-button>
|
| + <paper-button class="action-button" on-tap="onSaveAddTap_">
|
| + $i18n{saveEdit}
|
| + </paper-button>
|
| + </div>
|
| + </dialog>
|
| <cr-toolbar page-name="$i18n{title}"
|
| clear-label="$i18n{clearSearch}"
|
| search-prompt="$i18n{searchPrompt}"
|
|
|