google-closure-compiler 20161024.3.0 → 20170409.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/README.md +327 -0
  2. package/compiler.jar +0 -0
  3. package/contrib/externs/angular-1.3-resource.js +6 -0
  4. package/contrib/externs/angular-1.3.js +4 -3
  5. package/contrib/externs/angular-1.4-resource.js +6 -0
  6. package/contrib/externs/angular-1.4.js +2 -2
  7. package/contrib/externs/angular-1.5-q_templated.js +19 -1
  8. package/contrib/externs/angular-1.5-resource.js +6 -0
  9. package/contrib/externs/angular-1.5.js +44 -9
  10. package/contrib/externs/angular-1.6-http-promise_templated.js +61 -0
  11. package/contrib/externs/angular-1.6-mocks.js +267 -0
  12. package/contrib/externs/angular-1.6-q_templated.js +194 -0
  13. package/contrib/externs/angular-1.6-resource.js +332 -0
  14. package/contrib/externs/{w3c_css.js → angular-1.6-test.js} +8 -6
  15. package/contrib/externs/angular-1.6.js +2646 -0
  16. package/contrib/externs/angular-cache-4.6.js +316 -0
  17. package/contrib/externs/angular-material-1.1.js +92 -33
  18. package/contrib/externs/angular-material.js +36 -5
  19. package/contrib/externs/chai-3.5.js +101 -2
  20. package/contrib/externs/chrome_extensions.js +267 -95
  21. package/contrib/externs/jasmine-2.0.js +23 -3
  22. package/contrib/externs/jquery-1.4.4.js +1 -1
  23. package/contrib/externs/jquery-1.5.js +1 -1
  24. package/contrib/externs/jquery-1.6.js +1 -1
  25. package/contrib/externs/jquery-3.0.js +2037 -0
  26. package/contrib/externs/jquery-3.1.js +2045 -0
  27. package/contrib/externs/maps/google_maps_api_v3.js +306 -263
  28. package/contrib/externs/maps/google_maps_api_v3_27.js +6732 -0
  29. package/contrib/externs/maps/google_maps_api_v3_28.js +6637 -0
  30. package/contrib/externs/maps/google_maps_api_v3_exp.js +41 -106
  31. package/contrib/externs/mocha-2.5.js +65 -14
  32. package/contrib/externs/polymer-1.0.js +43 -5
  33. package/contrib/externs/safari.js +58 -0
  34. package/contrib/externs/sinon-1.17.js +719 -10
  35. package/contrib/externs/sinon-chai-2.7.js +78 -0
  36. package/contrib/externs/w3c_eventsource.js +6 -17
  37. package/contrib/externs/web_component_tester-4.2.js +6 -0
  38. package/contrib/nodejs/crypto.js +6 -6
  39. package/lib/gulp/index.js +2 -2
  40. package/lib/node/closure-compiler.js +3 -1
  41. package/package.json +8 -9
  42. package/contrib/externs/jquery-1.3.2.externs.js +0 -714
  43. package/contrib/externs/w3c_gamepad.js +0 -91
  44. package/contrib/externs/w3c_midi.js +0 -293
  45. package/contrib/externs/w3c_pointer_events.js +0 -105
@@ -0,0 +1,316 @@
1
+ /*
2
+ * Copyright 2016 The Closure Compiler Authors.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ /**
18
+ * @fileoverview An externs file for the Angular Cache library.
19
+ * @externs
20
+ */
21
+
22
+ /** @const */
23
+ var ngcache = {};
24
+
25
+ /** @record */
26
+ ngcache.AngularCacheOptions = function() {};
27
+
28
+ /** @type {number|undefined} */
29
+ ngcache.AngularCacheOptions.prototype.capacity;
30
+
31
+ /** @type {number|undefined} */
32
+ ngcache.AngularCacheOptions.prototype.maxAge;
33
+
34
+ /** @type {!ngcache.AngularCacheOptions.DeleteOnExpire|undefined} */
35
+ ngcache.AngularCacheOptions.prototype.deleteOnExpire;
36
+
37
+ /** @type {function()|undefined} */
38
+ ngcache.AngularCacheOptions.prototype.onExpire;
39
+
40
+ /** @type {number?|undefined} */
41
+ ngcache.AngularCacheOptions.prototype.cacheFlushInterval;
42
+
43
+ /** @type {number|undefined} */
44
+ ngcache.AngularCacheOptions.prototype.recycleFreq;
45
+
46
+ /** @type {!ngcache.AngularCacheOptions.StorageMode|undefined} */
47
+ ngcache.AngularCacheOptions.prototype.storageMode;
48
+
49
+ /** @type {!ngcache.AngularCacheOptions.StorageImpl|undefined} */
50
+ ngcache.AngularCacheOptions.prototype.storageImpl;
51
+
52
+ /** @type {boolean|undefined} */
53
+ ngcache.AngularCacheOptions.prototype.disabled;
54
+
55
+ /** @type {string|undefined} */
56
+ ngcache.AngularCacheOptions.prototype.storagePrefix;
57
+
58
+ /** @type {boolean|undefined} */
59
+ ngcache.AngularCacheOptions.prototype.storeOnResolve;
60
+
61
+ /** @type {boolean|undefined} */
62
+ ngcache.AngularCacheOptions.prototype.storeOnReject;
63
+
64
+
65
+ /** @enum {string} */
66
+ ngcache.AngularCacheOptions.StorageMode = {
67
+ MEMORY: 'memory',
68
+ LOCAL: 'localStorage',
69
+ SESSION: 'sessionStorage',
70
+ };
71
+
72
+
73
+ /** @enum {string} */
74
+ ngcache.AngularCacheOptions.DeleteOnExpire = {
75
+ NONE: 'none',
76
+ PASSIVE: 'passive',
77
+ AGGRESSIVE: 'aggressive',
78
+ };
79
+
80
+
81
+ /** @interface */
82
+ ngcache.AngularCacheOptions.StorageImpl = function() {};
83
+
84
+
85
+ /**
86
+ * @param {string} key
87
+ * @param {*} value
88
+ */
89
+ ngcache.AngularCacheOptions.StorageImpl.prototype.setItem = function(
90
+ key, value) {};
91
+
92
+
93
+ /**
94
+ * @param {string} key
95
+ * @return {*} value
96
+ */
97
+ ngcache.AngularCacheOptions.StorageImpl.prototype.getItem = function(key) {};
98
+
99
+
100
+ /**
101
+ * @param {string} key
102
+ */
103
+ ngcache.AngularCacheOptions.StorageImpl.prototype.removeItem = function(key) {};
104
+
105
+
106
+ /** @interface */
107
+ ngcache.AngularCache = function() {};
108
+
109
+
110
+ /**
111
+ * @param {string|Array} key
112
+ * @param {!ngcache.AngularCacheOptions=} options
113
+ * @return {*}
114
+ */
115
+ ngcache.AngularCache.prototype.get = function(key, options) {};
116
+
117
+
118
+ /**
119
+ * @param {string} key
120
+ * @param {*} value
121
+ * @param {!ngcache.AngularCacheOptions=} options
122
+ * @return {*}
123
+ */
124
+ ngcache.AngularCache.prototype.put = function(key, value, options) {};
125
+
126
+
127
+ /**
128
+ * @param {string} key
129
+ */
130
+ ngcache.AngularCache.prototype.remove = function(key) {};
131
+
132
+
133
+ /**
134
+ * @return {void}
135
+ */
136
+ ngcache.AngularCache.prototype.removeAll = function() {};
137
+
138
+
139
+ /**
140
+ * @return {!Object<{key: string, expires: number}>}
141
+ */
142
+ ngcache.AngularCache.prototype.removeExpired = function() {};
143
+
144
+
145
+ /**
146
+ * @return {void}
147
+ */
148
+ ngcache.AngularCache.prototype.destroy = function() {};
149
+
150
+
151
+ /**
152
+ * @param {string=} key
153
+ * @return {!angular.cacheFactory.Cache.Info}
154
+ */
155
+ ngcache.AngularCache.prototype.info = function(key) {};
156
+
157
+
158
+ /**
159
+ * @return {!Object<string>}
160
+ */
161
+ ngcache.AngularCache.prototype.keySet = function() {};
162
+
163
+
164
+ /**
165
+ * @return {!Array<string>}
166
+ */
167
+ ngcache.AngularCache.prototype.keys = function() {};
168
+
169
+
170
+ /**
171
+ * @return {void}
172
+ */
173
+ ngcache.AngularCache.prototype.enable = function() {};
174
+
175
+
176
+ /**
177
+ * @return {void}
178
+ */
179
+ ngcache.AngularCache.prototype.disable = function() {};
180
+
181
+
182
+ /**
183
+ * @param {string} key
184
+ * @param {!ngcache.AngularCacheOptions=} options
185
+ */
186
+ ngcache.AngularCache.prototype.touch = function(key, options) {};
187
+
188
+
189
+ /**
190
+ * @param {number} cacheFlushInterval
191
+ */
192
+ ngcache.AngularCache.prototype.setCacheFlushInterval = function(
193
+ cacheFlushInterval) {};
194
+
195
+
196
+ /**
197
+ * @param {number} capacity
198
+ */
199
+ ngcache.AngularCache.prototype.setCapacity = function(capacity) {};
200
+
201
+
202
+ /**
203
+ * @param {!ngcache.AngularCacheOptions.DeleteOnExpire} deleteOnExpire
204
+ */
205
+ ngcache.AngularCache.prototype.setDeleteOnExpire = function(deleteOnExpire) {};
206
+
207
+
208
+ /**
209
+ * @param {number} maxAge
210
+ */
211
+ ngcache.AngularCache.prototype.setMaxAge = function(maxAge) {};
212
+
213
+
214
+ /**
215
+ * @param {function()} onExpire
216
+ */
217
+ ngcache.AngularCache.prototype.setOnExpire = function(onExpire) {};
218
+
219
+
220
+ /**
221
+ * @param {number} recycleFreq
222
+ */
223
+ ngcache.AngularCache.prototype.setRecycleFreq = function(recycleFreq) {};
224
+
225
+
226
+ /**
227
+ * @param {!ngcache.AngularCacheOptions.StorageMode} storageMode
228
+ * @param {!ngcache.AngularCacheOptions.StorageImpl=} storageImpl
229
+ */
230
+ ngcache.AngularCache.prototype.setStorageMode = function(
231
+ storageMode, storageImpl) {};
232
+
233
+
234
+ /**
235
+ * @param {!ngcache.AngularCacheOptions} cacheOptions
236
+ * @param {boolean=} strict
237
+ */
238
+ ngcache.AngularCache.prototype.setOptions = function(cacheOptions, strict) {};
239
+
240
+
241
+ /**
242
+ * @typedef {function(string, !ngcache.AngularCacheOptions=):
243
+ * !ngcache.AngularCache}
244
+ */
245
+ ngcache.cacheFactory;
246
+
247
+
248
+ /** @const */
249
+ ngcache.CacheFactory = {};
250
+
251
+
252
+ /**
253
+ * @return {!angular.cacheFactory.Cache.Info}
254
+ */
255
+ ngcache.CacheFactory.info = function() {};
256
+
257
+
258
+ /**
259
+ * @param {string} cacheId
260
+ * @return {!ngcache.AngularCache}
261
+ */
262
+ ngcache.CacheFactory.get = function(cacheId) {};
263
+
264
+
265
+ /**
266
+ * @return {!Object<string>}
267
+ */
268
+ ngcache.CacheFactory.keySet = function() {};
269
+
270
+
271
+ /**
272
+ * @return {!Array<string>}
273
+ */
274
+ ngcache.CacheFactory.keys = function() {};
275
+
276
+
277
+ /**
278
+ * @param {string} cacheId
279
+ */
280
+ ngcache.CacheFactory.destroy = function(cacheId) {};
281
+
282
+
283
+ /**
284
+ * @return {void}
285
+ */
286
+ ngcache.CacheFactory.destroyAll = function() {};
287
+
288
+
289
+ /**
290
+ * @return {void}
291
+ */
292
+ ngcache.CacheFactory.clearAll = function() {};
293
+
294
+
295
+ /**
296
+ * @return {void}
297
+ */
298
+ ngcache.CacheFactory.removeExpiredFromAll = function() {};
299
+
300
+
301
+ /**
302
+ * @return {void}
303
+ */
304
+ ngcache.CacheFactory.enableAll = function() {};
305
+
306
+
307
+ /**
308
+ * @return {void}
309
+ */
310
+ ngcache.CacheFactory.disableAll = function() {};
311
+
312
+
313
+ /**
314
+ * @return {void}
315
+ */
316
+ ngcache.CacheFactory.touchAll = function() {};
@@ -31,7 +31,7 @@ var md = {};
31
31
  *****************************************************************************/
32
32
 
33
33
 
34
- /** @constructor */
34
+ /** @interface */
35
35
  md.$bottomSheet = function() {};
36
36
 
37
37
  /**
@@ -77,7 +77,7 @@ md.$bottomSheet.prototype.cancel = function(opt_response) {};
77
77
  *****************************************************************************/
78
78
 
79
79
 
80
- /** @constructor */
80
+ /** @interface */
81
81
  md.$dialog = function() {};
82
82
 
83
83
 
@@ -112,8 +112,8 @@ md.$dialog = function() {};
112
112
  md.$dialog.options;
113
113
 
114
114
 
115
- /** @constructor */
116
- md.$dialog.AlertConfig_;
115
+ /** @interface */
116
+ md.$dialog.AlertConfig_ = function() {};
117
117
 
118
118
  /**
119
119
  * @param {string} title
@@ -190,8 +190,8 @@ md.$dialog.AlertConfig_.prototype.css = function(css) {};
190
190
  md.$dialog.AlertConfig_.prototype.parent = function(parent) {};
191
191
 
192
192
 
193
- /** @constructor */
194
- md.$dialog.ConfirmConfig_;
193
+ /** @interface */
194
+ md.$dialog.ConfirmConfig_ = function() {};
195
195
 
196
196
  /**
197
197
  * @param {string} title
@@ -274,8 +274,8 @@ md.$dialog.ConfirmConfig_.prototype.parent = function(parent) {};
274
274
  md.$dialog.ConfirmConfig_.prototype.css = function(css) {};
275
275
 
276
276
 
277
- /** @constructor */
278
- md.$dialog.PromptConfig_;
277
+ /** @interface */
278
+ md.$dialog.PromptConfig_ = function() {};
279
279
 
280
280
  /**
281
281
  * @param {string} title
@@ -425,7 +425,8 @@ md.$toast = function() {};
425
425
  * locals: (Object|undefined),
426
426
  * bindToController: (boolean|undefined),
427
427
  * resolve: (Object|undefined),
428
- * controllerAs: (string|undefined)
428
+ * controllerAs: (string|undefined),
429
+ * toastClass: (string|undefined),
429
430
  * }}
430
431
  */
431
432
  md.$toast.options;
@@ -547,7 +548,8 @@ md.$toast.prototype.simple = function() {};
547
548
  * isOpen: function():boolean,
548
549
  * toggle: function(),
549
550
  * open: function(),
550
- * close: function()
551
+ * close: function(),
552
+ * onClose: function(function()),
551
553
  * }}
552
554
  */
553
555
  md._sidenavService;
@@ -555,17 +557,26 @@ md._sidenavService;
555
557
  /**
556
558
  * Sidenav service is actually a function that returns an object.
557
559
  * @typedef {
558
- * function(string):md._sidenavService
560
+ * function(string, boolean=):md._sidenavService
559
561
  * }
560
562
  */
561
563
  md.$sidenav;
562
564
 
563
565
 
566
+ /******************************************************************************
567
+ * $mdAriaProvider service
568
+ *****************************************************************************/
569
+
570
+ /** @interface */
571
+ md.$mdAriaProvider = function() {};
572
+
573
+ md.$mdAriaProvider.prototype.disableWarnings = function() {};
574
+
564
575
  /******************************************************************************
565
576
  * $mdThemingProvider
566
577
  *****************************************************************************/
567
578
 
568
- /** @constructor */
579
+ /** @interface */
569
580
  md.$mdThemingProvider = function() {};
570
581
 
571
582
  /** @param {boolean} alwaysWatch */
@@ -605,19 +616,27 @@ md.$mdThemingProvider.prototype.setNonce = function(nonce) {};
605
616
  * $mdTheming service
606
617
  *****************************************************************************/
607
618
 
608
- /** @constructor */
619
+ /** @interface */
609
620
  md.$mdTheming = function() {};
610
621
 
622
+ /**
623
+ * @param {string} name
624
+ * @return {boolean}
625
+ */
626
+ md.$mdTheming.prototype.registered = function(name) {};
627
+
628
+ /** @return {string} */
629
+ md.$mdTheming.prototype.defaultTheme = function() {};
611
630
 
612
631
  /** @param {string} name */
613
- md.$mdTheming.prototype.generateTheme = function(name) {}
632
+ md.$mdTheming.prototype.generateTheme = function(name) {};
614
633
 
615
634
  /******************************************************************************/
616
635
 
617
636
 
618
637
  /**
619
638
  * @param {string} name
620
- * @constructor
639
+ * @interface
621
640
  */
622
641
  md.$mdThemingProvider.Theme = function(name) {};
623
642
 
@@ -678,7 +697,7 @@ md.$mdIcon;
678
697
  * $mdIconProvider Service
679
698
  *****************************************************************************/
680
699
 
681
- /** @constructor */
700
+ /** @interface */
682
701
  md.$mdIconProvider = function() {};
683
702
 
684
703
  /**
@@ -729,7 +748,7 @@ md.$mdMedia;
729
748
  * $mdMenu Service
730
749
  *****************************************************************************/
731
750
 
732
- /** @constructor */
751
+ /** @interface */
733
752
  md.$mdMenu = function() {};
734
753
 
735
754
  /**
@@ -772,32 +791,32 @@ md.$select.prototype.cancel = function(opt_reason, opt_options) {};
772
791
  * $mdDateLocaleProvider
773
792
  *****************************************************************************/
774
793
 
775
- /** @constructor */
794
+ /** @interface */
776
795
  md.$mdDateLocaleProvider = function() {};
777
796
 
778
797
  /** @type {Array<string>} */
779
- md.$mdDateLocaleProvider.prototype.months = [];
798
+ md.$mdDateLocaleProvider.prototype.months;
780
799
 
781
800
  /** @type {Array<string>} */
782
- md.$mdDateLocaleProvider.prototype.shortMonths = [];
801
+ md.$mdDateLocaleProvider.prototype.shortMonths;
783
802
 
784
803
  /** @type {Array<string>} */
785
- md.$mdDateLocaleProvider.prototype.days = [];
804
+ md.$mdDateLocaleProvider.prototype.days;
786
805
 
787
806
  /** @type {Array<string>} */
788
- md.$mdDateLocaleProvider.prototype.shortDays = [];
807
+ md.$mdDateLocaleProvider.prototype.shortDays;
789
808
 
790
809
  /** @type {number} */
791
- md.$mdDateLocaleProvider.prototype.firstDayOfWeek = 1;
810
+ md.$mdDateLocaleProvider.prototype.firstDayOfWeek;
792
811
 
793
812
  /** @type {Array<string|number>} */
794
- md.$mdDateLocaleProvider.prototype.dates = [];
813
+ md.$mdDateLocaleProvider.prototype.dates;
795
814
 
796
815
  /** @type {string} */
797
- md.$mdDateLocaleProvider.prototype.msgCalendar = '';
816
+ md.$mdDateLocaleProvider.prototype.msgCalendar;
798
817
 
799
818
  /** @type {string} */
800
- md.$mdDateLocaleProvider.prototype.msgOpenCalendar = '';
819
+ md.$mdDateLocaleProvider.prototype.msgOpenCalendar;
801
820
 
802
821
  // The functions on $mdDateLocaleProvider are defined as fields because
803
822
  // they are meant to be directly set by consuming code.
@@ -822,7 +841,7 @@ md.$mdDateLocaleProvider.prototype.longDateFormatter = function(date) {};
822
841
  * $mdGestureProvider
823
842
  *****************************************************************************/
824
843
 
825
- /** @constructor */
844
+ /** @interface */
826
845
  md.$mdGestureProvider = function() {};
827
846
 
828
847
  /**
@@ -830,12 +849,22 @@ md.$mdGestureProvider = function() {};
830
849
  */
831
850
  md.$mdGestureProvider.prototype.skipClickHijack = function() {};
832
851
 
852
+ /******************************************************************************
853
+ * $mdInkRippleProvider
854
+ *****************************************************************************/
855
+
856
+ /** @interface */
857
+ md.$mdInkRippleProvider = function() {};
858
+
859
+
860
+ md.$mdInkRippleProvider.prototype.disableInkRipple = function() {};
861
+
833
862
 
834
863
  /******************************************************************************
835
864
  * VirtualRepeatContainerController
836
865
  *****************************************************************************/
837
866
 
838
- /** @constructor */
867
+ /** @interface */
839
868
  md.VirtualRepeatContainerController = function() {};
840
869
 
841
870
  /** @return {boolean} */
@@ -864,7 +893,7 @@ md.VirtualRepeatContainerController.prototype.resetScroll = function() {};
864
893
  * VirtualRepeatController
865
894
  *****************************************************************************/
866
895
 
867
- /** @constructor */
896
+ /** @interface */
868
897
  md.VirtualRepeatController = function() {};
869
898
 
870
899
  /** @return {?number} */
@@ -902,7 +931,8 @@ md.$panel = function() {};
902
931
  * onOpenComplete: (Function|undefined),
903
932
  * onRemoving: (Function|undefined),
904
933
  * onDomRemoved: (Function|undefined),
905
- * origin: (!angular.JQLite|!Element|undefined)
934
+ * origin: (!angular.JQLite|!Element|undefined),
935
+ * onCloseSuccess: (function(!md.$panel.MdPanelRef, string)|undefined),
906
936
  * }}
907
937
  */
908
938
  md.$panel.config;
@@ -949,6 +979,17 @@ md.$panel.prototype.yPosition = {
949
979
  BELOW: 'below',
950
980
  };
951
981
 
982
+ /**
983
+ * Possible values of absPosition.
984
+ * @enum {string}
985
+ */
986
+ md.$panel.prototype.absPosition = {
987
+ TOP: 'top',
988
+ RIGHT: 'right',
989
+ BOTTOM: 'bottom',
990
+ LEFT: 'left',
991
+ };
992
+
952
993
  /**
953
994
  * Possible default animations.
954
995
  * @enum {string}
@@ -967,17 +1008,35 @@ md.$panel.prototype.interceptorTypes = {
967
1008
  CLOSE: 'onClose',
968
1009
  };
969
1010
 
1011
+ /**
1012
+ * Possible reasons for close.
1013
+ * @enum {string}
1014
+ */
1015
+ md.$panel.prototype.closeReasons = {
1016
+ CLICK_OUTSIDE: 'clickOutsideToClose',
1017
+ ESCAPE: 'escapeToClose',
1018
+ };
1019
+
970
1020
 
971
1021
  /**
972
1022
  * @param {!md.$panel.config} config
973
1023
  * @param {!angular.$injector} $injector
974
- * @constructor
1024
+ * @interface
975
1025
  */
976
1026
  md.$panel.MdPanelRef = function(config, $injector) {};
977
1027
 
978
1028
  /** @type {string} */
979
1029
  md.$panel.MdPanelRef.prototype.id;
980
1030
 
1031
+ /** @type {!md.$panel.config} */
1032
+ md.$panel.MdPanelRef.prototype.config;
1033
+
1034
+ /** @type {!angular.JQLite|undefined} */
1035
+ md.$panel.MdPanelRef.prototype.panelContainer;
1036
+
1037
+ /** @type {!angular.JQLite|undefined} */
1038
+ md.$panel.MdPanelRef.prototype.panelEl;
1039
+
981
1040
  /** @type {boolean} */
982
1041
  md.$panel.MdPanelRef.prototype.isAttached;
983
1042
 
@@ -1048,7 +1107,7 @@ md.$panel.MdPanelRef.prototype.updatePosition = function(position) {};
1048
1107
 
1049
1108
  /**
1050
1109
  * @param {!angular.$window} $window
1051
- * @constructor
1110
+ * @interface
1052
1111
  */
1053
1112
  md.$panel.MdPanelPosition = function($window) {};
1054
1113
 
@@ -1116,7 +1175,7 @@ md.$panel.MdPanelPosition.prototype.withOffsetY = function(offsetY) {};
1116
1175
 
1117
1176
  /**
1118
1177
  * @param {!angular.$injector} $injector
1119
- * @constructor
1178
+ * @interface
1120
1179
  */
1121
1180
  md.$panel.MdPanelAnimation = function($injector) {};
1122
1181
 
@@ -586,13 +586,20 @@ md.$mdThemingProvider.prototype.setNonce = function(nonce) {};
586
586
  /** @constructor */
587
587
  md.$mdTheming = function() {};
588
588
 
589
+ /**
590
+ * @param {string} name
591
+ * @return {boolean}
592
+ */
593
+ md.$mdTheming.prototype.registered = function(name) {};
594
+
595
+ /** @return {string} */
596
+ md.$mdTheming.prototype.defaultTheme = function() {};
589
597
 
590
598
  /** @param {string} name */
591
- md.$mdTheming.prototype.generateTheme = function(name) {}
599
+ md.$mdTheming.prototype.generateTheme = function(name) {};
592
600
 
593
601
  /******************************************************************************/
594
602
 
595
-
596
603
  /**
597
604
  * @param {string} name
598
605
  * @constructor
@@ -808,6 +815,16 @@ md.$mdGestureProvider = function() {};
808
815
  */
809
816
  md.$mdGestureProvider.prototype.skipClickHijack = function() {};
810
817
 
818
+ /******************************************************************************
819
+ * $mdInkRippleProvider
820
+ *****************************************************************************/
821
+
822
+ /** @interface */
823
+ md.$mdInkRippleProvider = function() {};
824
+
825
+
826
+ md.$mdInkRippleProvider.prototype.disableInkRipple = function() {};
827
+
811
828
 
812
829
  /******************************************************************************
813
830
  * VirtualRepeatContainerController
@@ -879,7 +896,8 @@ md.$panel = function() {};
879
896
  * onOpenComplete: (Function|undefined),
880
897
  * onRemoving: (Function|undefined),
881
898
  * onDomRemoved: (Function|undefined),
882
- * origin: (!angular.JQLite|!Element|undefined)
899
+ * origin: (!angular.JQLite|!Element|undefined),
900
+ * onCloseSuccess: (function(md.$panel.MdPanelRef, string)|undefined)
883
901
  * }}
884
902
  */
885
903
  md.$panel.config;
@@ -936,6 +954,15 @@ md.$panel.prototype.animation = {
936
954
  FADE: 'md-panel-animate-fade'
937
955
  };
938
956
 
957
+ /**
958
+ * Possible default closeReasons for the close function.
959
+ * @enum {string}
960
+ */
961
+ md.$panel.prototype.closeReasons = {
962
+ CLICK_OUTSIDE: 'clickOutsideToClose',
963
+ ESCAPE: 'escapeToClose',
964
+ };
965
+
939
966
 
940
967
  /**
941
968
  * @param {!md.$panel.config} config
@@ -953,8 +980,11 @@ md.$panel.MdPanelRef.prototype.isAttached;
953
980
  /** @return {!angular.$q.Promise<!md.$panel.MdPanelRef>} */
954
981
  md.$panel.MdPanelRef.prototype.open = function() {};
955
982
 
956
- /** @return {!angular.$q.Promise<!md.$panel.MdPanelRef>} */
957
- md.$panel.MdPanelRef.prototype.close = function() {};
983
+ /**
984
+ * @param {string=} opt_closeReason
985
+ * @return {!angular.$q.Promise<!md.$panel.MdPanelRef>}
986
+ */
987
+ md.$panel.MdPanelRef.prototype.close = function(opt_closeReason) {};
958
988
 
959
989
  /** @return {!angular.$q.Promise<!md.$panel.MdPanelRef>} */
960
990
  md.$panel.MdPanelRef.prototype.attach = function() {};
@@ -968,6 +998,7 @@ md.$panel.MdPanelRef.prototype.show = function() {};
968
998
  /** @return {!angular.$q.Promise<!md.$panel.MdPanelRef>} */
969
999
  md.$panel.MdPanelRef.prototype.hide = function() {};
970
1000
 
1001
+ /** @return {void} */
971
1002
  md.$panel.MdPanelRef.prototype.destroy = function() {};
972
1003
 
973
1004
  /** @param {string} classToAdd */