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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/paper-dropdown-menu/paper-dropdown-menu-extracted.js

Issue 1351623008: MD Settings: Languages model for language pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@SingletonPrefs
Patch Set: Created 5 years, 3 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 (function() { 1
2 (function() {
2 'use strict'; 3 'use strict';
3 4
4 Polymer({ 5 Polymer({
5 is: 'paper-dropdown-menu', 6 is: 'paper-dropdown-menu',
6 7
7 /** 8 /**
8 * Fired when the dropdown opens. 9 * Fired when the dropdown opens.
9 * 10 *
10 * @event paper-dropdown-open 11 * @event paper-dropdown-open
11 */ 12 */
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 * above the input, otherwise false. 185 * above the input, otherwise false.
185 */ 186 */
186 _computeMenuVerticalOffset: function(noLabelFloat) { 187 _computeMenuVerticalOffset: function(noLabelFloat) {
187 // NOTE(cdata): These numbers are somewhat magical because they are 188 // NOTE(cdata): These numbers are somewhat magical because they are
188 // derived from the metrics of elements internal to `paper-input`'s 189 // derived from the metrics of elements internal to `paper-input`'s
189 // template. The metrics will change depending on whether or not the 190 // template. The metrics will change depending on whether or not the
190 // input has a floating label. 191 // input has a floating label.
191 return noLabelFloat ? -4 : 16; 192 return noLabelFloat ? -4 : 16;
192 } 193 }
193 }); 194 });
194 })(); 195 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698