Chromium Code Reviews

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

Issue 25879002: DevTools: Get rid of styleFile on UISourceCode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed test Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « Source/devtools/front_end/UISourceCode.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). 3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com).
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 496 matching lines...)
507 507
508 this.networkWorkspaceProvider = new WebInspector.SimpleWorkspaceProvider(thi s.workspace, WebInspector.projectTypes.Network); 508 this.networkWorkspaceProvider = new WebInspector.SimpleWorkspaceProvider(thi s.workspace, WebInspector.projectTypes.Network);
509 new WebInspector.NetworkUISourceCodeProvider(this.networkWorkspaceProvider, this.workspace); 509 new WebInspector.NetworkUISourceCodeProvider(this.networkWorkspaceProvider, this.workspace);
510 510
511 this.breakpointManager = new WebInspector.BreakpointManager(WebInspector.set tings.breakpoints, this.debuggerModel, this.workspace); 511 this.breakpointManager = new WebInspector.BreakpointManager(WebInspector.set tings.breakpoints, this.debuggerModel, this.workspace);
512 512
513 this.scriptSnippetModel = new WebInspector.ScriptSnippetModel(this.workspace ); 513 this.scriptSnippetModel = new WebInspector.ScriptSnippetModel(this.workspace );
514 514
515 new WebInspector.DebuggerScriptMapping(this.workspace, this.networkWorkspace Provider); 515 new WebInspector.DebuggerScriptMapping(this.workspace, this.networkWorkspace Provider);
516 this.liveEditSupport = new WebInspector.LiveEditSupport(this.workspace); 516 this.liveEditSupport = new WebInspector.LiveEditSupport(this.workspace);
517 this.styleContentBinding = new WebInspector.StyleContentBinding(this.cssMode l, this.workspace);
518 new WebInspector.CSSStyleSheetMapping(this.cssModel, this.workspace, this.ne tworkWorkspaceProvider); 517 new WebInspector.CSSStyleSheetMapping(this.cssModel, this.workspace, this.ne tworkWorkspaceProvider);
519 new WebInspector.PresentationConsoleMessageHelper(this.workspace); 518 new WebInspector.PresentationConsoleMessageHelper(this.workspace);
520 519
521 this._createGlobalStatusBarItems(); 520 this._createGlobalStatusBarItems();
522 521
523 this.toolbar = new WebInspector.Toolbar(); 522 this.toolbar = new WebInspector.Toolbar();
524 WebInspector.startBatchUpdate(); 523 WebInspector.startBatchUpdate();
525 for (var i = 0; i < panelDescriptors.length; ++i) 524 for (var i = 0; i < panelDescriptors.length; ++i)
526 WebInspector.inspectorView.addPanel(panelDescriptors[i]); 525 WebInspector.inspectorView.addPanel(panelDescriptors[i]);
527 WebInspector.endBatchUpdate(); 526 WebInspector.endBatchUpdate();
(...skipping 596 matching lines...)
1124 1123
1125 /** 1124 /**
1126 * @return {string} 1125 * @return {string}
1127 */ 1126 */
1128 WebInspector.getSelectionForegroundColor = function() 1127 WebInspector.getSelectionForegroundColor = function()
1129 { 1128 {
1130 return InspectorFrontendHost.getSelectionForegroundColor(); 1129 return InspectorFrontendHost.getSelectionForegroundColor();
1131 } 1130 }
1132 1131
1133 window.DEBUG = true; 1132 window.DEBUG = true;
OLDNEW
« no previous file with comments | « Source/devtools/front_end/UISourceCode.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine