Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Side by Side Diff: chrome/browser/resources/settings/search_engines_page/omnibox_extension_entry.html

Issue 2839413004: MD Settings: Tweak omnibox search engine look to match other search engines. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 align-items: center;
15 display: flex;
14 flex: 3; 16 flex: 3;
17 word-break: break-word;
15 } 18 }
16 19
17 .keyword-column { 20 .keyword-column {
18 flex: 7; 21 flex: 7;
19 } 22 }
23
24 .favicon-image + span {
25 -webkit-margin-end: 8px;
26 }
20 </style> 27 </style>
21 <div class="list-item"> 28 <div class="list-item">
22 <div class="name-column"> 29 <div class="name-column">
23 <span class="favicon-image" 30 <span class="favicon-image"
24 style="background-image: [[getIconSet_(engine.iconURL)]]"></span> 31 style="background-image: [[getIconSet_(engine.iconURL)]]"></span>
25 <span class="name">[[engine.displayName]]</span> 32 <span class="name">[[engine.displayName]]</span>
26 </div> 33 </div>
27 <div class="keyword-column">[[engine.keyword]]</div> 34 <div class="keyword-column">[[engine.keyword]]</div>
28 <paper-icon-button icon="cr:more-vert" tabindex$="[[tabindex]]" 35 <paper-icon-button icon="cr:more-vert" tabindex$="[[tabindex]]"
29 on-tap="onDotsTap_" title="$i18n{moreActions}"> 36 on-tap="onDotsTap_" title="$i18n{moreActions}">
30 </paper-icon-button> 37 </paper-icon-button>
31 <dialog is="cr-action-menu"> 38 <dialog is="cr-action-menu">
32 <button class="dropdown-item" role="option" on-tap="onManageTap_" 39 <button class="dropdown-item" role="option" on-tap="onManageTap_"
33 id="manage"> 40 id="manage">
34 $i18n{searchEnginesManageExtension} 41 $i18n{searchEnginesManageExtension}
35 </button> 42 </button>
36 <button class="dropdown-item" role="option" on-tap="onDisableTap_" 43 <button class="dropdown-item" role="option" on-tap="onDisableTap_"
37 id="disable"> 44 id="disable">
38 $i18n{disable} 45 $i18n{disable}
39 </button> 46 </button>
40 </dialog> 47 </dialog>
41 </div> 48 </div>
42 </template> 49 </template>
43 <script src="omnibox_extension_entry.js"></script> 50 <script src="omnibox_extension_entry.js"></script>
44 </dom-module> 51 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698