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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-dropdown/iron-dropdown-scroll-manager-extracted.js

Issue 1287713002: [MD settings] merge polymer 1.0.11; hack for settings checkbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 /** 4 /**
6 * The IronDropdownScrollManager is intended to provide a central source 5 * The IronDropdownScrollManager is intended to provide a central source
7 * of authority and control over which elements in a document are currently 6 * of authority and control over which elements in a document are currently
8 * allowed to scroll. 7 * allowed to scroll.
9 */ 8 */
10 9
11 Polymer.IronDropdownScrollManager = { 10 Polymer.IronDropdownScrollManager = {
12 11
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 document.body.style.overflowX = this._originalBodyStyles.overflowX; 197 document.body.style.overflowX = this._originalBodyStyles.overflowX;
199 document.body.style.overflowY = this._originalBodyStyles.overflowY; 198 document.body.style.overflowY = this._originalBodyStyles.overflowY;
200 199
201 window.removeEventListener('wheel', this._scrollInteractionHandler, true ); 200 window.removeEventListener('wheel', this._scrollInteractionHandler, true );
202 window.removeEventListener('mousewheel', this._scrollInteractionHandler, true); 201 window.removeEventListener('mousewheel', this._scrollInteractionHandler, true);
203 window.removeEventListener('DOMMouseScroll', this._scrollInteractionHand ler, true); 202 window.removeEventListener('DOMMouseScroll', this._scrollInteractionHand ler, true);
204 window.removeEventListener('touchmove', this._scrollInteractionHandler, true); 203 window.removeEventListener('touchmove', this._scrollInteractionHandler, true);
205 document.removeEventListener('keydown', this._scrollInteractionHandler, true); 204 document.removeEventListener('keydown', this._scrollInteractionHandler, true);
206 } 205 }
207 }; 206 };
208 })(); 207 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698