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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-dropdown/iron-dropdown-scroll-manager-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 /** 5 /**
5 * The IronDropdownScrollManager is intended to provide a central source 6 * The IronDropdownScrollManager is intended to provide a central source
6 * of authority and control over which elements in a document are currently 7 * of authority and control over which elements in a document are currently
7 * allowed to scroll. 8 * allowed to scroll.
8 */ 9 */
9 10
10 Polymer.IronDropdownScrollManager = { 11 Polymer.IronDropdownScrollManager = {
11 12
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 document.body.style.overflowX = this._originalBodyStyles.overflowX; 198 document.body.style.overflowX = this._originalBodyStyles.overflowX;
198 document.body.style.overflowY = this._originalBodyStyles.overflowY; 199 document.body.style.overflowY = this._originalBodyStyles.overflowY;
199 200
200 window.removeEventListener('wheel', this._scrollInteractionHandler, true ); 201 window.removeEventListener('wheel', this._scrollInteractionHandler, true );
201 window.removeEventListener('mousewheel', this._scrollInteractionHandler, true); 202 window.removeEventListener('mousewheel', this._scrollInteractionHandler, true);
202 window.removeEventListener('DOMMouseScroll', this._scrollInteractionHand ler, true); 203 window.removeEventListener('DOMMouseScroll', this._scrollInteractionHand ler, true);
203 window.removeEventListener('touchmove', this._scrollInteractionHandler, true); 204 window.removeEventListener('touchmove', this._scrollInteractionHandler, true);
204 document.removeEventListener('keydown', this._scrollInteractionHandler, true); 205 document.removeEventListener('keydown', this._scrollInteractionHandler, true);
205 } 206 }
206 }; 207 };
207 })(); 208 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698