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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-media-query/iron-media-query-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({ 1
2 2
3 Polymer({
4
3 is: 'iron-media-query', 5 is: 'iron-media-query',
4 6
5 properties: { 7 properties: {
6 8
7 /** 9 /**
8 * The Boolean return value of the media query. 10 * The Boolean return value of the media query.
9 */ 11 */
10 queryMatches: { 12 queryMatches: {
11 type: Boolean, 13 type: Boolean,
12 value: false, 14 value: false,
(...skipping 24 matching lines...) Expand all
37 } 39 }
38 this._mq = window.matchMedia(query); 40 this._mq = window.matchMedia(query);
39 this._mq.addListener(this._mqHandler); 41 this._mq.addListener(this._mqHandler);
40 this.queryHandler(this._mq); 42 this.queryHandler(this._mq);
41 }, 43 },
42 44
43 queryHandler: function(mq) { 45 queryHandler: function(mq) {
44 this._setQueryMatches(mq.matches); 46 this._setQueryMatches(mq.matches);
45 } 47 }
46 48
47 }); 49 });
50
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698