| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action
_menu.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action
_menu.html"> |
| 3 <link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_r
ender.html"> | 3 <link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_r
ender.html"> |
| 4 <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar.ht
ml"> | 4 <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar.ht
ml"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> |
| 6 <link rel="import" href="chrome://bookmarks/edit_dialog.html"> | 6 <link rel="import" href="chrome://bookmarks/edit_dialog.html"> |
| 7 <link rel="import" href="chrome://bookmarks/shared_style.html"> | 7 <link rel="import" href="chrome://bookmarks/shared_style.html"> |
| 8 <link rel="stylesheet" href="chrome://resources/css/md_colors.css"> | 8 <link rel="stylesheet" href="chrome://resources/css/md_colors.css"> |
| 9 | 9 |
| 10 <dom-module id="bookmarks-toolbar"> | 10 <dom-module id="bookmarks-toolbar"> |
| 11 <template> | 11 <template> |
| 12 <style include="shared-style"> | 12 <style include="shared-style"> |
| 13 button.more-actions { | 13 button.more-actions { |
| 14 margin: 4px; | 14 margin: 4px; |
| 15 } | 15 } |
| 16 | 16 |
| 17 button.more-vert-button div { | 17 button.more-vert-button div { |
| 18 border-color: white; | 18 border-color: white; |
| 19 } | 19 } |
| 20 | 20 |
| 21 cr-toolbar { | 21 cr-toolbar { |
| 22 --cr-toolbar-field-margin: | 22 --cr-toolbar-field-margin: |
| 23 calc(var(--sidebar-width) + var(--splitter-width)); | 23 calc(var(--sidebar-width) + var(--splitter-width)); |
| 24 background: var(--md-toolbar-color); | 24 background: var(--md-toolbar-color); |
| 25 } | 25 } |
| 26 </style> | 26 </style> |
| 27 <dialog is="cr-action-menu" id="dropdown"> | 27 <dialog is="cr-action-menu" id="dropdown"> |
| 28 <button class="dropdown-item" on-tap="onSortTap_"> | 28 <button class="dropdown-item" on-tap="onSortTap_" |
| 29 disabled="[[hasSearchTerm_(searchTerm_)]]"> |
| 29 $i18n{menuSort} | 30 $i18n{menuSort} |
| 30 </button> | 31 </button> |
| 31 <hr> | 32 <hr> |
| 32 <button class="dropdown-item" on-tap="onAddBookmarkTap_" | 33 <button class="dropdown-item" on-tap="onAddBookmarkTap_" |
| 33 disabled="[[hasSearchTerm_(searchTerm_)]]"> | 34 disabled="[[hasSearchTerm_(searchTerm_)]]"> |
| 34 $i18n{menuAddBookmark} | 35 $i18n{menuAddBookmark} |
| 35 </button> | 36 </button> |
| 36 <button class="dropdown-item" on-tap="onAddFolderTap_" | 37 <button class="dropdown-item" on-tap="onAddFolderTap_" |
| 37 disabled="[[hasSearchTerm_(searchTerm_)]]"> | 38 disabled="[[hasSearchTerm_(searchTerm_)]]"> |
| 38 $i18n{menuAddFolder} | 39 $i18n{menuAddFolder} |
| (...skipping 16 matching lines...) Expand all Loading... |
| 55 <div></div> | 56 <div></div> |
| 56 <div></div> | 57 <div></div> |
| 57 </button> | 58 </button> |
| 58 </cr-toolbar> | 59 </cr-toolbar> |
| 59 <template is="cr-lazy-render" id="addDialog"> | 60 <template is="cr-lazy-render" id="addDialog"> |
| 60 <bookmarks-edit-dialog></bookmarks-edit-dialog> | 61 <bookmarks-edit-dialog></bookmarks-edit-dialog> |
| 61 </template> | 62 </template> |
| 62 </template> | 63 </template> |
| 63 <script src="chrome://bookmarks/toolbar.js"></script> | 64 <script src="chrome://bookmarks/toolbar.js"></script> |
| 64 </dom-module> | 65 </dom-module> |
| OLD | NEW |