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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-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 Polymer.IronOverlayManager = (function() { 1
2 2
3 Polymer.IronOverlayManager = (function() {
4
3 var overlays = []; 5 var overlays = [];
4 var DEFAULT_Z = 10; 6 var DEFAULT_Z = 10;
5 var backdrops = []; 7 var backdrops = [];
6 8
7 // track overlays for z-index and focus managemant 9 // track overlays for z-index and focus managemant
8 function addOverlay(overlay) { 10 function addOverlay(overlay) {
9 var z0 = currentOverlayZ(); 11 var z0 = currentOverlayZ();
10 overlays.push(overlay); 12 overlays.push(overlay);
11 var z1 = currentOverlayZ(); 13 var z1 = currentOverlayZ();
12 if (z1 <= z0) { 14 if (z1 <= z0) {
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 return { 87 return {
86 addOverlay: addOverlay, 88 addOverlay: addOverlay,
87 removeOverlay: removeOverlay, 89 removeOverlay: removeOverlay,
88 currentOverlay: currentOverlay, 90 currentOverlay: currentOverlay,
89 currentOverlayZ: currentOverlayZ, 91 currentOverlayZ: currentOverlayZ,
90 focusOverlay: focusOverlay, 92 focusOverlay: focusOverlay,
91 trackBackdrop: trackBackdrop, 93 trackBackdrop: trackBackdrop,
92 getBackdrops: getBackdrops 94 getBackdrops: getBackdrops
93 }; 95 };
94 96
95 })(); 97 })();
98
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698