| Index: chrome/browser/resources/settings/on_startup_page/startup_url_entry.html
|
| diff --git a/chrome/browser/resources/settings/on_startup_page/startup_url_entry.html b/chrome/browser/resources/settings/on_startup_page/startup_url_entry.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1b908177fef83d13cf625a799bf44ba789faaa03
|
| --- /dev/null
|
| +++ b/chrome/browser/resources/settings/on_startup_page/startup_url_entry.html
|
| @@ -0,0 +1,52 @@
|
| +<link rel="import" href="chrome://resources/html/polymer.html">
|
| +<link rel="import" href="chrome://resources/html/util.html">
|
| +<link rel="import" href="chrome://resources/polymer/v1_0/iron-dropdown/iron-dropdown.html">
|
| +<link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.html">
|
| +<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html">
|
| +<link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.html">
|
| +<link rel="import" href="chrome://md-settings/on_startup_page/startup_urls_page_browser_proxy.html">
|
| +<link rel="import" href="chrome://md-settings/settings_shared_css.html">
|
| +
|
| +<dom-module id="settings-startup-url-entry">
|
| + <template>
|
| + <style include="settings-shared">
|
| + .favicon-image {
|
| + background-size: contain;
|
| + background-repeat: no-repeat;
|
| + height: 16px;
|
| + width: 16px;
|
| + }
|
| +
|
| + .dropdown-content {
|
| + background: white;
|
| + box-shadow: 0 2px 6px grey;
|
| + }
|
| +
|
| + paper-item:hover {
|
| + background-color: var(--settings-hover-color);
|
| + }
|
| + </style>
|
| + <div class="list-item underbar">
|
| + <div class="favicon-image"
|
| + style="background-image: [[getIconSet_(model.url)]]">
|
| + </div>
|
| + <div class="middle">
|
| + <div class="text-elide">[[model.title]]</div>
|
| + <div class="text-elide secondary">[[model.url]]</div>
|
| + </div>
|
| + <paper-icon-button id="dots" icon="more-vert" toggles
|
| + active="{{menuOpened}}"></paper-icon-button>
|
| + <template is="dom-if" if="[[menuOpened]]">
|
| + <iron-dropdown vertical-align="top" horizontal-align="right"
|
| + opened="{{menuOpened}}">
|
| + <div class="dropdown-content">
|
| + <paper-item id="remove" on-tap="onRemoveTap_">
|
| + $i18n{onStartupRemove}
|
| + </paper-item>
|
| + </div>
|
| + </iron-dropdown>
|
| + </template>
|
| + </div>
|
| + </template>
|
| + <script src="startup_url_entry.js"></script>
|
| +</dom-module>
|
|
|