OLD | NEW |
1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
2 | 2 |
3 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 3 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
4 <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-a11y-keys/iron-a11
y-keys.html"> |
5 <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/iron-list/iron-list.htm
l"> |
6 <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-button/paper-butt
on.html"> |
7 <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-icon-button/paper
-icon-button-light.html"> |
8 <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-input/paper-input
.html"> |
9 <link rel="import" href="../global_scroll_target_behavior.html"> | 9 <link rel="import" href="../global_scroll_target_behavior.html"> |
10 <link rel="import" href="../prefs/prefs.html"> | 10 <link rel="import" href="../prefs/prefs.html"> |
11 <link rel="import" href="../prefs/prefs_behavior.html"> | 11 <link rel="import" href="../prefs/prefs_behavior.html"> |
12 <link rel="import" href="../settings_shared_css.html"> | 12 <link rel="import" href="../settings_shared_css.html"> |
13 | 13 |
14 <dom-module id="settings-edit-dictionary-page"> | 14 <dom-module id="settings-edit-dictionary-page"> |
15 <template> | 15 <template> |
16 <style include="settings-shared"> | 16 <style include="settings-shared"> |
17 :host { | 17 :host { |
(...skipping 28 matching lines...) Expand all Loading... |
46 <div class="settings-box continuation block"> | 46 <div class="settings-box continuation block"> |
47 <h2>$i18n{customDictionaryWords}</h2> | 47 <h2>$i18n{customDictionaryWords}</h2> |
48 </div> | 48 </div> |
49 <div class="list-frame"> | 49 <div class="list-frame"> |
50 <template is="dom-if" if="[[hasWords_(words_.length)]]"> | 50 <template is="dom-if" if="[[hasWords_(words_.length)]]"> |
51 <iron-list id="list" items="[[words_]]" | 51 <iron-list id="list" items="[[words_]]" |
52 scroll-target="[[subpageScrollTarget]]"> | 52 scroll-target="[[subpageScrollTarget]]"> |
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 <button is="paper-icon-button-light" class="icon-clear" |
57 tabindex$="[[tabIndex]]"> | 57 on-tap="onRemoveWordTap_" tabindex$="[[tabIndex]]"> |
58 </paper-icon-button> | 58 </button> |
59 </div> | 59 </div> |
60 </template> | 60 </template> |
61 </iron-list> | 61 </iron-list> |
62 </template> | 62 </template> |
63 <template is="dom-if" if="[[!hasWords_(words_.length)]]"> | 63 <template is="dom-if" if="[[!hasWords_(words_.length)]]"> |
64 <div id="noWordsLabel" class="list-item"> | 64 <div id="noWordsLabel" class="list-item"> |
65 $i18n{noCustomDictionaryWordsFound} | 65 $i18n{noCustomDictionaryWordsFound} |
66 </div> | 66 </div> |
67 </template> | 67 </template> |
68 </div> | 68 </div> |
69 </template> | 69 </template> |
70 <script src="edit_dictionary_page.js"></script> | 70 <script src="edit_dictionary_page.js"></script> |
71 </dom-module> | 71 </dom-module> |
OLD | NEW |