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

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

Issue 1401633002: Update Polymer from 1.1.4 -> 1.1.5 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dzhioev@ review Created 5 years, 2 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 1 (function() {
2 (function() {
3 'use strict'; 2 'use strict';
4 3
5 Polymer({ 4 Polymer({
6 is: 'paper-dropdown-menu', 5 is: 'paper-dropdown-menu',
7 6
8 /** 7 /**
9 * Fired when the dropdown opens. 8 * Fired when the dropdown opens.
10 * 9 *
11 * @event paper-dropdown-open 10 * @event paper-dropdown-open
12 */ 11 */
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 * above the input, otherwise false. 195 * above the input, otherwise false.
197 */ 196 */
198 _computeMenuVerticalOffset: function(noLabelFloat) { 197 _computeMenuVerticalOffset: function(noLabelFloat) {
199 // NOTE(cdata): These numbers are somewhat magical because they are 198 // NOTE(cdata): These numbers are somewhat magical because they are
200 // derived from the metrics of elements internal to `paper-input`'s 199 // derived from the metrics of elements internal to `paper-input`'s
201 // template. The metrics will change depending on whether or not the 200 // template. The metrics will change depending on whether or not the
202 // input has a floating label. 201 // input has a floating label.
203 return noLabelFloat ? -4 : 16; 202 return noLabelFloat ? -4 : 16;
204 } 203 }
205 }); 204 });
206 })(); 205 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698