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

Side by Side Diff: Source/devtools/front_end/sources/SourcesPanel.js

Issue 363973002: DevTools: bake generic css files into the concatenated one. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 * @constructor 53 * @constructor
54 * @implements {WebInspector.ContextMenu.Provider} 54 * @implements {WebInspector.ContextMenu.Provider}
55 * @implements {WebInspector.TargetManager.Observer} 55 * @implements {WebInspector.TargetManager.Observer}
56 * @extends {WebInspector.Panel} 56 * @extends {WebInspector.Panel}
57 * @param {!WebInspector.Workspace=} workspaceForTest 57 * @param {!WebInspector.Workspace=} workspaceForTest
58 */ 58 */
59 WebInspector.SourcesPanel = function(workspaceForTest) 59 WebInspector.SourcesPanel = function(workspaceForTest)
60 { 60 {
61 WebInspector.Panel.call(this, "sources"); 61 WebInspector.Panel.call(this, "sources");
62 this.registerRequiredCSS("sourcesPanel.css"); 62 this.registerRequiredCSS("sourcesPanel.css");
63 this.registerRequiredCSS("suggestBox.css");
64 new WebInspector.UpgradeFileSystemDropTarget(this.element); 63 new WebInspector.UpgradeFileSystemDropTarget(this.element);
65 64
66 WebInspector.settings.showEditorInDrawer = WebInspector.settings.createSetti ng("showEditorInDrawer", true); 65 WebInspector.settings.showEditorInDrawer = WebInspector.settings.createSetti ng("showEditorInDrawer", true);
67 66
68 this._workspace = workspaceForTest || WebInspector.workspace; 67 this._workspace = workspaceForTest || WebInspector.workspace;
69 68
70 var helpSection = WebInspector.shortcutsScreen.section(WebInspector.UIString ("Sources Panel")); 69 var helpSection = WebInspector.shortcutsScreen.section(WebInspector.UIString ("Sources Panel"));
71 this.debugToolbar = this._createDebugToolbar(); 70 this.debugToolbar = this._createDebugToolbar();
72 this._debugToolbarDrawer = this._createDebugToolbarDrawer(); 71 this._debugToolbarDrawer = this._createDebugToolbarDrawer();
73 this._targetsToolbar = new WebInspector.TargetsToolbar(); 72 this._targetsToolbar = new WebInspector.TargetsToolbar();
(...skipping 1400 matching lines...) Expand 10 before | Expand all | Expand 10 after
1474 */ 1473 */
1475 handleAction: function() 1474 handleAction: function()
1476 { 1475 {
1477 var panel = /** @type {?WebInspector.SourcesPanel} */ (WebInspector.insp ectorView.showPanel("sources")); 1476 var panel = /** @type {?WebInspector.SourcesPanel} */ (WebInspector.insp ectorView.showPanel("sources"));
1478 if (!panel) 1477 if (!panel)
1479 return false; 1478 return false;
1480 panel.togglePause(); 1479 panel.togglePause();
1481 return true; 1480 return true;
1482 } 1481 }
1483 } 1482 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698