| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/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://md-settings/settings_shared_css.html"> | 8 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> |
| 9 | 9 |
| 10 <dom-module id="settings-edit-dictionary-page"> | 10 <dom-module id="settings-edit-dictionary-page"> |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 iron-list .word { | 31 iron-list .word { |
| 32 flex: 1; | 32 flex: 1; |
| 33 } | 33 } |
| 34 </style> | 34 </style> |
| 35 <div class="settings-box block"> | 35 <div class="settings-box block"> |
| 36 <div id="addWordRow"> | 36 <div id="addWordRow"> |
| 37 <iron-a11y-keys id="keys" keys="enter esc" | 37 <iron-a11y-keys id="keys" keys="enter esc" |
| 38 on-keys-pressed="onKeysPress_"></iron-a11y-keys> | 38 on-keys-pressed="onKeysPress_"></iron-a11y-keys> |
| 39 <paper-input id="newWord" no-label-float | 39 <paper-input id="newWord" no-label-float |
| 40 i18n-values="label:addDictionaryWordLabel"></paper-input> | 40 label="$i18n{addDictionaryWordLabel}"></paper-input> |
| 41 <paper-button on-tap="onAddWordTap_" | 41 <paper-button on-tap="onAddWordTap_"> |
| 42 i18n-content="addDictionaryWordButton"></paper-button> | 42 $i18n{addDictionaryWordButton} |
| 43 </paper-button> |
| 43 </div> | 44 </div> |
| 44 </div> | 45 </div> |
| 45 <div class="settings-box block"> | 46 <div class="settings-box block"> |
| 46 <h2 i18n-content="customDictionaryWords"></h2> | 47 <h2>$i18n{customDictionaryWords}</h2> |
| 47 <div class="list-frame"> | 48 <div class="list-frame"> |
| 48 <iron-list id="list" items="{{words_}}"> | 49 <iron-list id="list" items="{{words_}}"> |
| 49 <template> | 50 <template> |
| 50 <div class="list-item"> | 51 <div class="list-item"> |
| 51 <div class="word">[[item]]</div> | 52 <div class="word">[[item]]</div> |
| 52 <paper-icon-button icon="clear" on-tap="onRemoveWordTap_"> | 53 <paper-icon-button icon="clear" on-tap="onRemoveWordTap_"> |
| 53 </paper-icon-button> | 54 </paper-icon-button> |
| 54 </div> | 55 </div> |
| 55 </template> | 56 </template> |
| 56 </iron-list> | 57 </iron-list> |
| 57 </div> | 58 </div> |
| 58 </div> | 59 </div> |
| 59 </template> | 60 </template> |
| 60 <script src="edit_dictionary_page.js"></script> | 61 <script src="edit_dictionary_page.js"></script> |
| 61 </dom-module> | 62 </dom-module> |
| OLD | NEW |