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

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

Issue 2498783002: DevTools: [Sources] Improve editor load time by optimizing setMimeType (Closed)
Patch Set: installMimeTypeModes Created 4 years, 1 month 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 /* 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 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 setSelections: function(selections, primaryIndex, config) {}, 522 setSelections: function(selections, primaryIndex, config) {},
523 setSize: function(width, height) {}, 523 setSize: function(width, height) {},
524 setValue: function(code) {}, 524 setValue: function(code) {},
525 somethingSelected: function() {}, 525 somethingSelected: function() {},
526 swapDoc: function(doc) {}, 526 swapDoc: function(doc) {},
527 undo: function() {}, 527 undo: function() {},
528 unlinkDoc: function(other) {} 528 unlinkDoc: function(other) {}
529 }; 529 };
530 /** @type {!{cursorDiv: Element}} */ 530 /** @type {!{cursorDiv: Element}} */
531 CodeMirror.prototype.display; 531 CodeMirror.prototype.display;
532 /** @type {!{mode: string}} */
533 CodeMirror.prototype.options;
532 /** @type {!Object} */ 534 /** @type {!Object} */
533 CodeMirror.Pass; 535 CodeMirror.Pass;
534 CodeMirror.showHint = function(codeMirror, hintintFunction) {}; 536 CodeMirror.showHint = function(codeMirror, hintintFunction) {};
535 CodeMirror.commands = {}; 537 CodeMirror.commands = {};
536 CodeMirror.modes = {}; 538 CodeMirror.modes = {};
537 CodeMirror.mimeModes = {}; 539 CodeMirror.mimeModes = {};
538 CodeMirror.getMode = function(options, spec) {}; 540 CodeMirror.getMode = function(options, spec) {};
539 CodeMirror.overlayMode = function(mode1, mode2, squashSpans) {}; 541 CodeMirror.overlayMode = function(mode1, mode2, squashSpans) {};
540 CodeMirror.defineMode = function(modeName, modeConstructor) {}; 542 CodeMirror.defineMode = function(modeName, modeConstructor) {};
541 CodeMirror.startState = function(mode) {}; 543 CodeMirror.startState = function(mode) {};
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 var Sources = {}; 845 var Sources = {};
844 var Terminal = {}; 846 var Terminal = {};
845 var TextEditor = {}; 847 var TextEditor = {};
846 var Timeline = {}; 848 var Timeline = {};
847 var TimelineModel = {}; 849 var TimelineModel = {};
848 var ToolboxBootstrap = {}; 850 var ToolboxBootstrap = {};
849 var UI = {}; 851 var UI = {};
850 var UtilitySharedWorker = {}; 852 var UtilitySharedWorker = {};
851 var WorkerService = {}; 853 var WorkerService = {};
852 var Workspace = {}; 854 var Workspace = {};
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698