OLD | NEW |
1 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action
_menu.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action
_menu.html"> |
2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
3 <link rel="import" href="chrome://resources/html/polymer.html"> | 3 <link rel="import" href="chrome://resources/html/polymer.html"> |
4 <link rel="import" href="chrome://resources/html/icon.html"> | 4 <link rel="import" href="chrome://resources/html/icon.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="../extension_control_browser_proxy.html"> | 6 <link rel="import" href="../extension_control_browser_proxy.html"> |
7 <link rel="import" href="search_engine_entry_css.html"> | 7 <link rel="import" href="search_engine_entry_css.html"> |
8 <link rel="import" href="../settings_shared_css.html"> | 8 <link rel="import" href="../settings_shared_css.html"> |
9 | 9 |
10 <dom-module id="settings-omnibox-extension-entry"> | 10 <dom-module id="settings-omnibox-extension-entry"> |
11 <template> | 11 <template> |
12 <style include="settings-shared search-engine-entry"> | 12 <style include="settings-shared search-engine-entry"> |
13 .name-column { | 13 .name-column { |
14 flex: 3; | 14 flex: 3; |
15 } | 15 } |
16 | 16 |
17 .keyword-column { | 17 .keyword-column { |
18 flex: 7; | 18 flex: 7; |
19 } | 19 } |
20 </style> | 20 </style> |
21 <div class="list-item"> | 21 <div class="list-item"> |
22 <div class="name-column"> | 22 <div class="name-column"> |
23 <span class="favicon-image" | 23 <span class="favicon-image" |
24 style="background-image: [[getIconSet_(engine.iconURL)]]"></span> | 24 style="background-image: [[getIconSet_(engine.iconURL)]]"></span> |
25 <span class="name">[[engine.displayName]]</span> | 25 <span class="name">[[engine.displayName]]</span> |
26 </div> | 26 </div> |
27 <div class="keyword-column">[[engine.keyword]]</div> | 27 <div class="keyword-column">[[engine.keyword]]</div> |
28 <paper-icon-button icon="cr:more-vert" tabindex$="[[tabindex]]" | 28 <paper-icon-button icon="cr:more-vert" tabindex$="[[tabindex]]" |
29 on-tap="onDotsTap_"> | 29 on-tap="onDotsTap_" title="$i18n{moreActions}"> |
30 </paper-icon-button> | 30 </paper-icon-button> |
31 <dialog is="cr-action-menu"> | 31 <dialog is="cr-action-menu"> |
32 <button class="dropdown-item" role="option" on-tap="onManageTap_" | 32 <button class="dropdown-item" role="option" on-tap="onManageTap_" |
33 id="manage"> | 33 id="manage"> |
34 $i18n{searchEnginesManageExtension} | 34 $i18n{searchEnginesManageExtension} |
35 </button> | 35 </button> |
36 <button class="dropdown-item" role="option" on-tap="onDisableTap_" | 36 <button class="dropdown-item" role="option" on-tap="onDisableTap_" |
37 id="disable"> | 37 id="disable"> |
38 $i18n{disable} | 38 $i18n{disable} |
39 </button> | 39 </button> |
40 </dialog> | 40 </dialog> |
41 </div> | 41 </div> |
42 </template> | 42 </template> |
43 <script src="omnibox_extension_entry.js"></script> | 43 <script src="omnibox_extension_entry.js"></script> |
44 </dom-module> | 44 </dom-module> |
OLD | NEW |