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

Side by Side Diff: Source/devtools/front_end/externs.js

Issue 22802012: Rename DOMApplicationCache to ApplicationCache and expose it to JS (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 */ 169 */
170 Array.prototype.select = function(field) {} 170 Array.prototype.select = function(field) {}
171 171
172 /** 172 /**
173 * @return {T|undefined} 173 * @return {T|undefined}
174 * @this {Array.<T>} 174 * @this {Array.<T>}
175 * @template T 175 * @template T
176 */ 176 */
177 Array.prototype.peekLast = function() {} 177 Array.prototype.peekLast = function() {}
178 178
179 DOMApplicationCache.prototype.UNCACHED = 0;
tkent 2013/08/19 22:47:10 Why are they removed? Unused now?
do-not-use 2013/08/20 06:09:16 I misread and thought it was faking the existence
do-not-use 2013/08/20 06:17:30 Done.
180 DOMApplicationCache.prototype.IDLE = 1;
181 DOMApplicationCache.prototype.CHECKING = 2;
182 DOMApplicationCache.prototype.DOWNLOADING = 3;
183 DOMApplicationCache.prototype.UPDATEREADY = 4;
184 DOMApplicationCache.prototype.OBSOLETE = 5;
185
186 // File System API 179 // File System API
187 /** 180 /**
188 * @constructor 181 * @constructor
189 */ 182 */
190 function DOMFileSystem() {} 183 function DOMFileSystem() {}
191 184
192 /** 185 /**
193 * @type {DirectoryEntry} 186 * @type {DirectoryEntry}
194 */ 187 */
195 DOMFileSystem.prototype.root = null; 188 DOMFileSystem.prototype.root = null;
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 539
547 WebInspector.settings.continuousPainting = /** type {WebInspector.Setting} */ { } 540 WebInspector.settings.continuousPainting = /** type {WebInspector.Setting} */ { }
548 WebInspector.settings.showDebugBorders = /** type {WebInspector.Setting} */ { } 541 WebInspector.settings.showDebugBorders = /** type {WebInspector.Setting} */ { }
549 WebInspector.settings.showScrollBottleneckRects = /** type {WebInspector.Setting } */ { } 542 WebInspector.settings.showScrollBottleneckRects = /** type {WebInspector.Setting } */ { }
550 WebInspector.settings.forceCompositingMode = /** type {WebInspector.Setting} */ { } 543 WebInspector.settings.forceCompositingMode = /** type {WebInspector.Setting} */ { }
551 WebInspector.settings.showFPSCounter = /** type {WebInspector.Setting} */ { } 544 WebInspector.settings.showFPSCounter = /** type {WebInspector.Setting} */ { }
552 WebInspector.settings.showPaintRects = /** type {WebInspector.Setting} */ { } 545 WebInspector.settings.showPaintRects = /** type {WebInspector.Setting} */ { }
553 546
554 /** @type {boolean} */ 547 /** @type {boolean} */
555 window.dispatchStandaloneTestRunnerMessages; 548 window.dispatchStandaloneTestRunnerMessages;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698