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

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

Issue 2273083002: [MD settings] using h2 for sub-headers consistently. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review changes Created 4 years, 3 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
OLDNEW
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="chrome://resources/polymer/v1_0/iron-dropdown/iron-drop down.html"> 4 <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/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="/search_engines_page/search_engine_dialog.html"> 6 <link rel="import" href="/search_engines_page/search_engine_dialog.html">
7 <link rel="import" href="/search_engines_page/search_engines_browser_proxy.html" > 7 <link rel="import" href="/search_engines_page/search_engines_browser_proxy.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-search-engine-entry"> 10 <dom-module id="settings-search-engine-entry">
(...skipping 15 matching lines...) Expand all
26 overflow: hidden; 26 overflow: hidden;
27 text-overflow: ellipsis; 27 text-overflow: ellipsis;
28 white-space: nowrap; 28 white-space: nowrap;
29 } 29 }
30 </style> 30 </style>
31 31
32 <template is="dom-if" if="[[showEditSearchEngineDialog_]]" restamp> 32 <template is="dom-if" if="[[showEditSearchEngineDialog_]]" restamp>
33 <settings-search-engine-dialog model="[[engine]]"> 33 <settings-search-engine-dialog model="[[engine]]">
34 </settings-search-engine-dialog> 34 </settings-search-engine-dialog>
35 </template> 35 </template>
36 <div id="container" class="list-item"> 36 <div class="list-item">
37 <div class="name-column"> 37 <div class="name-column">
38 <span class="favicon-image" 38 <span class="favicon-image"
39 style="background-image: [[getIconSet_(engine.iconURL)]]"></span> 39 style="background-image: [[getIconSet_(engine.iconURL)]]"></span>
40 <span class="name">[[engine.displayName]]</span> 40 <span class="name">[[engine.displayName]]</span>
41 </div> 41 </div>
42 <div class="keyword-column">[[engine.keyword]]</div> 42 <div class="keyword-column">[[engine.keyword]]</div>
43 <div class="url-column">[[engine.url]]</div> 43 <div class="url-column">[[engine.url]]</div>
44 <paper-icon-button icon="cr:more-vert" toggles tabindex$="[[tabindex]]" 44 <paper-icon-button icon="cr:more-vert" toggles tabindex$="[[tabindex]]"
45 active="{{editMenuOpened}}"> 45 active="{{editMenuOpened}}">
46 </paper-icon-button> 46 </paper-icon-button>
47 <iron-dropdown opened="{{editMenuOpened}}" horizontal-align="right" 47 <iron-dropdown opened="{{editMenuOpened}}" horizontal-align="right"
48 vertical-align="auto"> 48 vertical-align="auto">
49 <div class="dropdown-content"> 49 <div class="dropdown-content">
50 <button class="dropdown-item" role="option" on-tap="onMakeDefaultTap_" 50 <button class="dropdown-item" role="option" on-tap="onMakeDefaultTap_"
51 hidden$="[[!engine.canBeDefault]]" id="makeDefault"> 51 hidden$="[[!engine.canBeDefault]]" id="makeDefault">
52 $i18n{searchEnginesMakeDefault} 52 $i18n{searchEnginesMakeDefault}
53 </button> 53 </button>
54 <button class="dropdown-item" role="option" on-tap="onEditTap_" 54 <button class="dropdown-item" role="option" on-tap="onEditTap_"
55 hidden$="[[!engine.canBeEdited]]" 55 hidden$="[[!engine.canBeEdited]]"
56 id="edit">$i18n{searchEnginesEdit}</button> 56 id="edit">$i18n{searchEnginesEdit}</button>
57 <button class="dropdown-item" role="option" on-tap="onDeleteTap_" 57 <button class="dropdown-item" role="option" on-tap="onDeleteTap_"
58 hidden$="[[!engine.canBeRemoved]]" 58 hidden$="[[!engine.canBeRemoved]]"
59 id="delete">$i18n{searchEnginesRemoveFromList}</button> 59 id="delete">$i18n{searchEnginesRemoveFromList}</button>
60 <div> 60 <div>
61 </iron-dropdown> 61 </iron-dropdown>
62 </div> 62 </div>
63 </template> 63 </template>
64 <script src="search_engine_entry.js"></script> 64 <script src="search_engine_entry.js"></script>
65 </dom-module> 65 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698