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

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

Issue 2889493002: [MD settings] removing secondary-button class (Closed)
Patch Set: Created 3 years, 7 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/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="../global_scroll_target_behavior.html"> 8 <link rel="import" href="../global_scroll_target_behavior.html">
9 <link rel="import" href="../prefs/prefs.html"> 9 <link rel="import" href="../prefs/prefs.html">
10 <link rel="import" href="../prefs/prefs_behavior.html"> 10 <link rel="import" href="../prefs/prefs_behavior.html">
(...skipping 19 matching lines...) Expand all
30 -webkit-margin-start: 16px; 30 -webkit-margin-start: 16px;
31 } 31 }
32 </style> 32 </style>
33 <div class="settings-box first"> 33 <div class="settings-box first">
34 <iron-a11y-keys id="keys" keys="enter esc" 34 <iron-a11y-keys id="keys" keys="enter esc"
35 on-keys-pressed="onKeysPress_"></iron-a11y-keys> 35 on-keys-pressed="onKeysPress_"></iron-a11y-keys>
36 <div class="start"> 36 <div class="start">
37 <paper-input id="newWord" no-label-float value="{{newWordValue_}}" 37 <paper-input id="newWord" no-label-float value="{{newWordValue_}}"
38 label="$i18n{addDictionaryWordLabel}"></paper-input> 38 label="$i18n{addDictionaryWordLabel}"></paper-input>
39 </div> 39 </div>
40 <paper-button class="secondary-button" on-tap="onAddWordTap_" 40 <paper-button id="addWord" on-tap="onAddWordTap_"
41 disabled="[[!validateWord_(newWordValue_)]]" id="addWord"> 41 disabled="[[!validateWord_(newWordValue_)]]">
42 $i18n{addDictionaryWordButton} 42 $i18n{addDictionaryWordButton}
43 </paper-button> 43 </paper-button>
44 </div> 44 </div>
45 <div class="settings-box continuation block"> 45 <div class="settings-box continuation block">
46 <h2>$i18n{customDictionaryWords}</h2> 46 <h2>$i18n{customDictionaryWords}</h2>
47 </div> 47 </div>
48 <div class="list-frame"> 48 <div class="list-frame">
49 <template is="dom-if" if="[[hasWords_(words_.length)]]"> 49 <template is="dom-if" if="[[hasWords_(words_.length)]]">
50 <iron-list id="list" items="[[words_]]" 50 <iron-list id="list" items="[[words_]]"
51 scroll-target="[[subpageScrollTarget]]"> 51 scroll-target="[[subpageScrollTarget]]">
52 <template> 52 <template>
53 <div class="list-item"> 53 <div class="list-item">
54 <div class="word text-elide">[[item]]</div> 54 <div class="word text-elide">[[item]]</div>
55 <paper-icon-button icon="cr:clear" on-tap="onRemoveWordTap_" 55 <paper-icon-button icon="cr:clear" on-tap="onRemoveWordTap_"
56 tabindex$="[[tabIndex]]"> 56 tabindex$="[[tabIndex]]">
57 </paper-icon-button> 57 </paper-icon-button>
58 </div> 58 </div>
59 </template> 59 </template>
60 </iron-list> 60 </iron-list>
61 </template> 61 </template>
62 <template is="dom-if" if="[[!hasWords_(words_.length)]]"> 62 <template is="dom-if" if="[[!hasWords_(words_.length)]]">
63 <div id="noWordsLabel" class="list-item"> 63 <div id="noWordsLabel" class="list-item">
64 $i18n{noCustomDictionaryWordsFound} 64 $i18n{noCustomDictionaryWordsFound}
65 </div> 65 </div>
66 </template> 66 </template>
67 </div> 67 </div>
68 </template> 68 </template>
69 <script src="edit_dictionary_page.js"></script> 69 <script src="edit_dictionary_page.js"></script>
70 </dom-module> 70 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698