Chromium Code Reviews| 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_dialog/cr_dialog.html "> | 3 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html "> |
| 4 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> | 4 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> |
| 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l"> |
| 9 <link rel="import" href="chrome://bookmarks/item.html"> | 9 <link rel="import" href="chrome://bookmarks/item.html"> |
| 10 <link rel="import" href="chrome://bookmarks/shared_style.html"> | 10 <link rel="import" href="chrome://bookmarks/shared_style.html"> |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 60 </div> | 60 </div> |
| 61 <div class="button-container"> | 61 <div class="button-container"> |
| 62 <paper-button class="cancel-button" on-tap="onCancelEditTap_"> | 62 <paper-button class="cancel-button" on-tap="onCancelEditTap_"> |
| 63 $i18n{cancelEdit} | 63 $i18n{cancelEdit} |
| 64 </paper-button> | 64 </paper-button> |
| 65 <paper-button class="action-button" on-tap="onSaveEditTap_"> | 65 <paper-button class="action-button" on-tap="onSaveEditTap_"> |
| 66 $i18n{saveEdit} | 66 $i18n{saveEdit} |
| 67 </paper-button> | 67 </paper-button> |
| 68 </div> | 68 </div> |
| 69 </dialog> | 69 </dialog> |
| 70 <div id="bookmarksCard"> | 70 <div id="bookmarksCard" hidden$="[[isListEmpty_(displayedList.length)]]"> |
| 71 <hidden$="[[isListEmpty_(selectedNode.children.length)]]"> | 71 <template is="dom-repeat" items="[[displayedList]]" as="item"> |
| 72 <template is="dom-repeat" items="[[selectedNode.children]]" as="item"> | |
| 73 <bookmarks-item item="[[item]]"></bookmarks-item> | 72 <bookmarks-item item="[[item]]"></bookmarks-item> |
| 74 </template> | 73 </template> |
| 75 </div> | 74 </div> |
| 75 <!--TODO(angelayang): add message for no search results found--> | |
|
tsergeant
2017/01/12 06:45:05
You can get rid of this TODO
angelayang
2017/01/12 07:51:24
Done.
| |
| 76 <div class="centered-message" | 76 <div class="centered-message" |
| 77 hidden$="[[!isListEmpty_(selectedNode.children.length)]]"> | 77 hidden$="[[!isListEmpty_(displayedList.length)]]"> |
| 78 $i18n{emptyList} | 78 $i18n{emptyList} |
| 79 </div> | 79 </div> |
| 80 </template> | 80 </template> |
| 81 <script src="chrome://bookmarks/list.js"></script> | 81 <script src="chrome://bookmarks/list.js"></script> |
| 82 </dom-module> | 82 </dom-module> |
| OLD | NEW |