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

Side by Side Diff: Source/devtools/front_end/source_frame/SourceFrame.js

Issue 458753003: Revert of DevTools: Introduce module initializers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 10 matching lines...) Expand all
21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 importScript("../cm/codemirror.js");
32 importScript("../cm/css.js");
33 importScript("../cm/javascript.js");
34 importScript("../cm/xml.js");
35 importScript("../cm/htmlmixed.js");
36
37 importScript("../cm/matchbrackets.js");
38 importScript("../cm/closebrackets.js");
39 importScript("../cm/markselection.js");
40 importScript("../cm/comment.js");
41 importScript("../cm/overlay.js");
42
43 importScript("../cm/htmlembedded.js");
44 importScript("../cm/clike.js");
45 importScript("../cm/coffeescript.js");
46 importScript("../cm/php.js");
47 importScript("../cm/python.js");
48 importScript("../cm/shell.js");
49 importScript("CodeMirrorUtils.js");
50 importScript("CodeMirrorTextEditor.js");
51
31 /** 52 /**
32 * @extends {WebInspector.VBox} 53 * @extends {WebInspector.VBox}
33 * @constructor 54 * @constructor
34 * @implements {WebInspector.Replaceable} 55 * @implements {WebInspector.Replaceable}
35 * @param {!WebInspector.ContentProvider} contentProvider 56 * @param {!WebInspector.ContentProvider} contentProvider
36 */ 57 */
37 WebInspector.SourceFrame = function(contentProvider) 58 WebInspector.SourceFrame = function(contentProvider)
38 { 59 {
39 WebInspector.VBox.call(this); 60 WebInspector.VBox.call(this);
40 this.element.classList.add("script-view"); 61 this.element.classList.add("script-view");
(...skipping 973 matching lines...) Expand 10 before | Expand all | Expand 10 after
1014 1035
1015 /** 1036 /**
1016 * @param {?WebInspector.TextRange} from 1037 * @param {?WebInspector.TextRange} from
1017 * @param {?WebInspector.TextRange} to 1038 * @param {?WebInspector.TextRange} to
1018 */ 1039 */
1019 onJumpToPosition: function(from, to) 1040 onJumpToPosition: function(from, to)
1020 { 1041 {
1021 this._sourceFrame.onJumpToPosition(from, to); 1042 this._sourceFrame.onJumpToPosition(from, to);
1022 } 1043 }
1023 } 1044 }
1045
1046 importScript("GoToLineDialog.js");
1047 importScript("ResourceView.js");
1048 importScript("FontView.js");
1049 importScript("ImageView.js");
OLDNEW
« no previous file with comments | « Source/devtools/front_end/settings/module.json ('k') | Source/devtools/front_end/source_frame/_module.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698