| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 2 <link rel="import" href="chrome://resources/html/polymer.html"> | 2 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 3 <link rel="import" href="chrome://resources/html/icon.html"> | 3 <link rel="import" href="chrome://resources/html/icon.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-dropdown/iron-drop
down.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-dropdown/iron-drop
down.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
| 6 <link rel="import" href="/on_startup_page/startup_urls_page_browser_proxy.html"> | 6 <link rel="import" href="/on_startup_page/startup_urls_page_browser_proxy.html"> |
| 7 <link rel="import" href="/settings_shared_css.html"> | 7 <link rel="import" href="/settings_shared_css.html"> |
| 8 | 8 |
| 9 <dom-module id="settings-startup-url-entry"> | 9 <dom-module id="settings-startup-url-entry"> |
| 10 <template> | 10 <template> |
| 11 <style include="settings-shared"> | 11 <style include="settings-shared"> |
| 12 .hide-overflow { | 12 .hide-overflow { |
| 13 overflow: hidden; | 13 overflow: hidden; |
| 14 } | 14 } |
| 15 </style> | 15 </style> |
| 16 <div class="list-item underbar"> | 16 <div class="list-item"> |
| 17 <div class="favicon-image" | 17 <div class="favicon-image" |
| 18 style="background-image: [[getIconSet_(model.url)]]"> | 18 style="background-image: [[getIconSet_(model.url)]]"> |
| 19 </div> | 19 </div> |
| 20 <div class="middle hide-overflow"> | 20 <div class="middle hide-overflow"> |
| 21 <div class="text-elide">[[model.title]]</div> | 21 <div class="text-elide">[[model.title]]</div> |
| 22 <div class="text-elide secondary">[[model.url]]</div> | 22 <div class="text-elide secondary">[[model.url]]</div> |
| 23 </div> | 23 </div> |
| 24 <paper-icon-button id="dots" icon="cr:more-vert" toggles | 24 <paper-icon-button id="dots" icon="cr:more-vert" toggles |
| 25 active="{{menuOpened}}"></paper-icon-button> | 25 active="{{menuOpened}}" tabindex$="[[tabindex]]"> |
| 26 </paper-icon-button> |
| 26 <template is="dom-if" if="[[menuOpened]]"> | 27 <template is="dom-if" if="[[menuOpened]]"> |
| 27 <iron-dropdown vertical-align="auto" horizontal-align="right" | 28 <iron-dropdown vertical-align="auto" horizontal-align="right" |
| 28 opened="{{menuOpened}}"> | 29 opened="{{menuOpened}}"> |
| 29 <div class="dropdown-content"> | 30 <div class="dropdown-content"> |
| 30 <button class="dropdown-item" role="option" on-tap="onEditTap_"> | 31 <button class="dropdown-item" role="option" on-tap="onEditTap_"> |
| 31 $i18n{onStartupEdit} | 32 $i18n{onStartupEdit} |
| 32 </button> | 33 </button> |
| 33 <button class="dropdown-item" role="option" id="remove" | 34 <button class="dropdown-item" role="option" id="remove" |
| 34 on-tap="onRemoveTap_"> | 35 on-tap="onRemoveTap_"> |
| 35 $i18n{onStartupRemove} | 36 $i18n{onStartupRemove} |
| 36 </button> | 37 </button> |
| 37 </div> | 38 </div> |
| 38 </iron-dropdown> | 39 </iron-dropdown> |
| 39 </template> | 40 </template> |
| 40 </div> | 41 </div> |
| 41 </template> | 42 </template> |
| 42 <script src="startup_url_entry.js"></script> | 43 <script src="startup_url_entry.js"></script> |
| 43 </dom-module> | 44 </dom-module> |
| OLD | NEW |