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