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

Side by Side Diff: Source/devtools/front_end/timeline/TimelinePanel.js

Issue 658793002: DevTools: move non panel-specific CSS from layerPanel.css to timelinePanel.css (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/devtools/front_end/layersPanel.css ('k') | Source/devtools/front_end/timelinePanel.css » ('j') | 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Intel Inc. All rights reserved. 3 * Copyright (C) 2012 Intel 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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 21 matching lines...) Expand all
32 /** 32 /**
33 * @constructor 33 * @constructor
34 * @extends {WebInspector.Panel} 34 * @extends {WebInspector.Panel}
35 * @implements {WebInspector.TimelineModeViewDelegate} 35 * @implements {WebInspector.TimelineModeViewDelegate}
36 * @implements {WebInspector.Searchable} 36 * @implements {WebInspector.Searchable}
37 */ 37 */
38 WebInspector.TimelinePanel = function() 38 WebInspector.TimelinePanel = function()
39 { 39 {
40 WebInspector.Panel.call(this, "timeline"); 40 WebInspector.Panel.call(this, "timeline");
41 this.registerRequiredCSS("timelinePanel.css"); 41 this.registerRequiredCSS("timelinePanel.css");
42 this.registerRequiredCSS("layersPanel.css");
43 this.registerRequiredCSS("filter.css"); 42 this.registerRequiredCSS("filter.css");
44 this.element.addEventListener("contextmenu", this._contextMenu.bind(this), f alse); 43 this.element.addEventListener("contextmenu", this._contextMenu.bind(this), f alse);
45 44
46 this._detailsLinkifier = new WebInspector.Linkifier(); 45 this._detailsLinkifier = new WebInspector.Linkifier();
47 this._windowStartTime = 0; 46 this._windowStartTime = 0;
48 this._windowEndTime = Infinity; 47 this._windowEndTime = Infinity;
49 48
50 // Create model. 49 // Create model.
51 if (Runtime.experiments.isEnabled("timelineOnTraceEvents")) { 50 if (Runtime.experiments.isEnabled("timelineOnTraceEvents")) {
52 this._tracingManager = new WebInspector.TracingManager(); 51 this._tracingManager = new WebInspector.TracingManager();
(...skipping 1403 matching lines...) Expand 10 before | Expand all | Expand 10 after
1456 1455
1457 WebInspector.TimelinePanelFactory.prototype = { 1456 WebInspector.TimelinePanelFactory.prototype = {
1458 /** 1457 /**
1459 * @return {!WebInspector.Panel} 1458 * @return {!WebInspector.Panel}
1460 */ 1459 */
1461 createPanel: function() 1460 createPanel: function()
1462 { 1461 {
1463 return WebInspector.TimelinePanel._instance(); 1462 return WebInspector.TimelinePanel._instance();
1464 } 1463 }
1465 } 1464 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/layersPanel.css ('k') | Source/devtools/front_end/timelinePanel.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698