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="/search_engines_page/search_engines_browser_proxy.html"
> | 4 <link rel="import" href="/search_engines_page/search_engines_browser_proxy.html"
> |
5 <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/iron-dropdown/iron-drop
down.html"> |
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.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-omnibox-extension-entry"> | 9 <dom-module id="settings-omnibox-extension-entry"> |
10 <link rel="import" type="css" href="/search_engines_page/search_engine_entry.c
ss"> | 10 <link rel="import" type="css" href="/search_engines_page/search_engine_entry.c
ss"> |
11 <template> | 11 <template> |
12 <style include="settings-shared"> | 12 <style include="settings-shared"> |
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 id="container" 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" toggles tabindex$="[[tabindex]]" | 28 <paper-icon-button icon="cr:more-vert" toggles tabindex$="[[tabindex]]" |
29 active="{{editMenuOpened}}"> | 29 active="{{editMenuOpened}}"> |
30 </paper-icon-button> | 30 </paper-icon-button> |
31 <iron-dropdown opened="{{editMenuOpened}}" horizontal-align="right" | 31 <iron-dropdown opened="{{editMenuOpened}}" horizontal-align="right" |
32 vertical-align="auto"> | 32 vertical-align="auto"> |
33 <div class="dropdown-content"> | 33 <div class="dropdown-content"> |
34 <button class="dropdown-item" role="option" on-tap="onManageTap_" | 34 <button class="dropdown-item" role="option" on-tap="onManageTap_" |
35 id="manage"> | 35 id="manage"> |
36 $i18n{searchEnginesManageExtension} | 36 $i18n{searchEnginesManageExtension} |
37 </button> | 37 </button> |
38 <button class="dropdown-item" role="option" on-tap="onDisableTap_" | 38 <button class="dropdown-item" role="option" on-tap="onDisableTap_" |
39 id="disable"> | 39 id="disable"> |
40 $i18n{disable} | 40 $i18n{disable} |
41 </button> | 41 </button> |
42 <div> | 42 <div> |
43 </iron-dropdown> | 43 </iron-dropdown> |
44 </div> | 44 </div> |
45 </template> | 45 </template> |
46 <script src="omnibox_extension_entry.js"></script> | 46 <script src="omnibox_extension_entry.js"></script> |
47 </dom-module> | 47 </dom-module> |
OLD | NEW |