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-light.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="../focus_row_behavior.html"> | 7 <link rel="import" href="../focus_row_behavior.html"> |
8 <link rel="import" href="search_engine_entry_css.html"> | 8 <link rel="import" href="search_engine_entry_css.html"> |
9 <link rel="import" href="../settings_shared_css.html"> | 9 <link rel="import" href="../settings_shared_css.html"> |
10 | 10 |
11 <dom-module id="settings-omnibox-extension-entry"> | 11 <dom-module id="settings-omnibox-extension-entry"> |
12 <template> | 12 <template> |
13 <style include="settings-shared search-engine-entry"> | 13 <style include="settings-shared search-engine-entry"> |
14 .name-column { | 14 .name-column { |
15 align-items: center; | 15 align-items: center; |
(...skipping 10 matching lines...) Expand all Loading... |
26 -webkit-margin-end: 8px; | 26 -webkit-margin-end: 8px; |
27 } | 27 } |
28 </style> | 28 </style> |
29 <div class="list-item" focus-row-container> | 29 <div class="list-item" focus-row-container> |
30 <div class="name-column"> | 30 <div class="name-column"> |
31 <span class="favicon-image" | 31 <span class="favicon-image" |
32 style="background-image: [[getIconSet_(engine.iconURL)]]"></span> | 32 style="background-image: [[getIconSet_(engine.iconURL)]]"></span> |
33 <span class="name">[[engine.displayName]]</span> | 33 <span class="name">[[engine.displayName]]</span> |
34 </div> | 34 </div> |
35 <div class="keyword-column">[[engine.keyword]]</div> | 35 <div class="keyword-column">[[engine.keyword]]</div> |
36 <paper-icon-button icon="cr:more-vert" focus-row-control | 36 <button is="paper-icon-button-light" class="icon-more-vert" |
37 on-tap="onDotsTap_" title="$i18n{moreActions}" | 37 on-tap="onDotsTap_" title="$i18n{moreActions}" focus-row-control |
38 focus-type="cr-menu-button"> | 38 focus-type="menu"> |
39 </paper-icon-button> | 39 </button> |
40 <dialog is="cr-action-menu"> | 40 <dialog is="cr-action-menu"> |
41 <button class="dropdown-item" role="option" on-tap="onManageTap_" | 41 <button class="dropdown-item" role="option" on-tap="onManageTap_" |
42 id="manage"> | 42 id="manage"> |
43 $i18n{searchEnginesManageExtension} | 43 $i18n{searchEnginesManageExtension} |
44 </button> | 44 </button> |
45 <button class="dropdown-item" role="option" on-tap="onDisableTap_" | 45 <button class="dropdown-item" role="option" on-tap="onDisableTap_" |
46 id="disable"> | 46 id="disable"> |
47 $i18n{disable} | 47 $i18n{disable} |
48 </button> | 48 </button> |
49 </dialog> | 49 </dialog> |
50 </div> | 50 </div> |
51 </template> | 51 </template> |
52 <script src="omnibox_extension_entry.js"></script> | 52 <script src="omnibox_extension_entry.js"></script> |
53 </dom-module> | 53 </dom-module> |
OLD | NEW |