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 16 matching lines...) Expand all Loading... | |
| 27 | 27 |
| 28 .centered-message { | 28 .centered-message { |
| 29 align-items: center; | 29 align-items: center; |
| 30 color: #6e6e6e; | 30 color: #6e6e6e; |
| 31 display: flex; | 31 display: flex; |
| 32 font-size: 14px; | 32 font-size: 14px; |
| 33 font-weight: 500; | 33 font-weight: 500; |
| 34 height: 100%; | 34 height: 100%; |
| 35 justify-content: center; | 35 justify-content: center; |
| 36 } | 36 } |
| 37 | |
|
jiaxi
2017/01/19 04:50:57
Extra line here.
angelayang
2017/01/19 05:00:23
Done.
| |
| 37 </style> | 38 </style> |
| 38 <dialog is="cr-action-menu" id="dropdown"> | 39 <dialog is="cr-action-menu" id="dropdown"> |
| 39 <button class="dropdown-item" on-tap="onEditTap_"> | 40 <button class="dropdown-item" on-tap="onEditTap_"> |
| 40 $i18n{menuEdit} | 41 $i18n{menuEdit} |
| 41 </button> | 42 </button> |
| 42 <button class="dropdown-item" on-tap="onCopyURLTap_"> | 43 <button class="dropdown-item" on-tap="onCopyURLTap_"> |
| 43 $i18n{menuCopyURL} | 44 $i18n{menuCopyURL} |
| 44 </button> | 45 </button> |
| 45 <button class="dropdown-item" on-tap="onDeleteTap_"> | 46 <button class="dropdown-item" on-tap="onDeleteTap_"> |
| 46 $i18n{menuDelete} | 47 $i18n{menuDelete} |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 60 </div> | 61 </div> |
| 61 <div class="button-container"> | 62 <div class="button-container"> |
| 62 <paper-button class="cancel-button" on-tap="onCancelEditTap_"> | 63 <paper-button class="cancel-button" on-tap="onCancelEditTap_"> |
| 63 $i18n{cancelEdit} | 64 $i18n{cancelEdit} |
| 64 </paper-button> | 65 </paper-button> |
| 65 <paper-button class="action-button" on-tap="onSaveEditTap_"> | 66 <paper-button class="action-button" on-tap="onSaveEditTap_"> |
| 66 $i18n{saveEdit} | 67 $i18n{saveEdit} |
| 67 </paper-button> | 68 </paper-button> |
| 68 </div> | 69 </div> |
| 69 </dialog> | 70 </dialog> |
| 70 <div id="bookmarksCard" hidden$="[[isListEmpty_(displayedList.length)]]"> | 71 <div id="bookmarksCard" hidden$="[[isEmptyList_(displayedList.length)]]"> |
| 71 <template is="dom-repeat" items="[[displayedList]]" as="item"> | 72 <template is="dom-repeat" items="[[displayedList]]" as="item"> |
| 72 <bookmarks-item item="[[item]]"></bookmarks-item> | 73 <bookmarks-item item="[[item]]" |
| 74 is-last-item="[[isLastItem_(item)]]"></bookmarks-item> | |
| 73 </template> | 75 </template> |
| 74 </div> | 76 </div> |
| 75 <div class="centered-message" | 77 <div class="centered-message" |
| 76 hidden$="[[!isListEmpty_(displayedList.length)]]"> | 78 hidden$="[[!isEmptyList_(displayedList.length)]]"> |
| 77 $i18n{emptyList} | 79 {{emptyListMessage_(displayedList.length)}} |
| 78 </div> | 80 </div> |
| 79 </template> | 81 </template> |
| 80 <script src="chrome://bookmarks/list.js"></script> | 82 <script src="chrome://bookmarks/list.js"></script> |
| 81 </dom-module> | 83 </dom-module> |
| OLD | NEW |