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

Side by Side Diff: chrome/browser/resources/settings/languages_page/edit_dictionary_page.html

Issue 1687753002: [MD settings] edit dictionary layout closer to mocks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/polymer/v1_0/polymer/polymer.html"> 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys/iron-a11 y-keys.html"> <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon /iron-icon.html"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys/iron-a11 y-keys.html"> <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon /iron-icon.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h tml"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h tml">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.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="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.h tml">
9 8
10 <dom-module id="settings-edit-dictionary-page"> 9 <dom-module id="settings-edit-dictionary-page">
11 <link rel="import" type="css" href="chrome://md-settings/settings_shared.css"> 10 <link rel="import" type="css" href="chrome://md-settings/settings_shared.css">
12 <link rel="import" type="css" href="edit_dictionary_page.css"> 11 <link rel="import" type="css" href="edit_dictionary_page.css">
13 <template> 12 <template>
14 <div class="settings-box"> 13 <div class="settings-box block">
15 <div id="addWordRow"> 14 <div id="addWordRow">
16 <iron-a11y-keys id="keys" keys="enter esc" 15 <iron-a11y-keys id="keys" keys="enter esc"
17 on-keys-pressed="onKeysPress_"></iron-a11y-keys> 16 on-keys-pressed="onKeysPress_"></iron-a11y-keys>
18 <paper-input id="newWord" no-label-float 17 <paper-input id="newWord" no-label-float
19 i18n-values="label:addDictionaryWordLabel"></paper-input> 18 i18n-values="label:addDictionaryWordLabel"></paper-input>
20 <paper-button on-tap="onAddWordTap_" 19 <paper-button on-tap="onAddWordTap_"
21 i18n-content="addDictionaryWordButton"></paper-button> 20 i18n-content="addDictionaryWordButton"></paper-button>
22 </div> 21 </div>
22 </div>
23 <div class="settings-box block">
23 <h2 i18n-content="customDictionaryWords"></h2> 24 <h2 i18n-content="customDictionaryWords"></h2>
24 <iron-list id="list" items="{{words_}}"> 25 <div class="list-frame">
25 <template> 26 <iron-list id="list" items="{{words_}}">
26 <paper-item> 27 <template>
27 <div class="word">[[item]]</div> 28 <div class="list-item">
28 <paper-icon-button icon="clear" on-tap="onRemoveWordTap_"> 29 <div class="word">[[item]]</div>
29 </paper-icon-button> 30 <paper-icon-button icon="clear" on-tap="onRemoveWordTap_">
30 </paper-item> 31 </paper-icon-button>
31 </template> 32 </div>
32 </iron-list> 33 </template>
34 </iron-list>
35 </div>
33 </div> 36 </div>
34 </template> 37 </template>
35 <script src="edit_dictionary_page.js"></script> 38 <script src="edit_dictionary_page.js"></script>
36 </dom-module> 39 </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