| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 | 2 |
| 3 <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_action_menu/cr_action
_menu.html"> |
| 4 <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_lazy_render/cr_lazy_r
ender.html"> |
| 5 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 5 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 6 <link rel="import" href="chrome://resources/html/icon.html"> | 6 <link rel="import" href="chrome://resources/html/icon.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> |
| 8 <link rel="import" href="startup_urls_page_browser_proxy.html"> | 8 <link rel="import" href="startup_urls_page_browser_proxy.html"> |
| 9 <link rel="import" href="../focus_row_behavior.html"> | 9 <link rel="import" href="../focus_row_behavior.html"> |
| 10 <link rel="import" href="../settings_shared_css.html"> | 10 <link rel="import" href="../settings_shared_css.html"> |
| 11 | 11 |
| 12 <dom-module id="settings-startup-url-entry"> | 12 <dom-module id="settings-startup-url-entry"> |
| 13 <template> | 13 <template> |
| 14 <style include="settings-shared"> | 14 <style include="settings-shared"> |
| 15 .hide-overflow { | 15 .hide-overflow { |
| 16 overflow: hidden; | 16 overflow: hidden; |
| 17 } | 17 } |
| 18 </style> | 18 </style> |
| 19 <div class="list-item" focus-row-container> | 19 <div class="list-item" focus-row-container> |
| 20 <div class="favicon-image" | 20 <div class="favicon-image" |
| 21 style="background-image: [[getIconSet_(model.url)]]"> | 21 style="background-image: [[getIconSet_(model.url)]]"> |
| 22 </div> | 22 </div> |
| 23 <div class="middle hide-overflow"> | 23 <div class="middle hide-overflow"> |
| 24 <div class="text-elide">[[model.title]]</div> | 24 <div class="text-elide">[[model.title]]</div> |
| 25 <div class="text-elide secondary">[[model.url]]</div> | 25 <div class="text-elide secondary">[[model.url]]</div> |
| 26 </div> | 26 </div> |
| 27 <template is="dom-if" if="[[editable]]"> | 27 <template is="dom-if" if="[[editable]]"> |
| 28 <paper-icon-button id="dots" icon="cr:more-vert" on-tap="onDotsTap_" | 28 <button is="paper-icon-button-light" id="dots" on-tap="onDotsTap_" |
| 29 title="$i18n{moreActions}" focus-row-control focus-type="menu"> | 29 title="$i18n{moreActions}" focus-row-control focus-type="menu" |
| 30 </paper-icon-button> | 30 class="icon-more-vert"> |
| 31 </button> |
| 31 <template is="cr-lazy-render" id="menu"> | 32 <template is="cr-lazy-render" id="menu"> |
| 32 <dialog is="cr-action-menu"> | 33 <dialog is="cr-action-menu"> |
| 33 <button class="dropdown-item" role="option" on-tap="onEditTap_"> | 34 <button class="dropdown-item" role="option" on-tap="onEditTap_"> |
| 34 $i18n{edit} | 35 $i18n{edit} |
| 35 </button> | 36 </button> |
| 36 <button class="dropdown-item" role="option" id="remove" | 37 <button class="dropdown-item" role="option" id="remove" |
| 37 on-tap="onRemoveTap_"> | 38 on-tap="onRemoveTap_"> |
| 38 $i18n{onStartupRemove} | 39 $i18n{onStartupRemove} |
| 39 </button> | 40 </button> |
| 40 </dialog> | 41 </dialog> |
| 41 </template> | 42 </template> |
| 42 </template> | 43 </template> |
| 43 </div> | 44 </div> |
| 44 </template> | 45 </template> |
| 45 <script src="startup_url_entry.js"></script> | 46 <script src="startup_url_entry.js"></script> |
| 46 </dom-module> | 47 </dom-module> |
| OLD | NEW |