OLD | NEW |
---|---|
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 Loading... | |
32 importScript("MemoryStatistics.js"); | 32 importScript("MemoryStatistics.js"); |
33 importScript("CountersGraph.js"); | 33 importScript("CountersGraph.js"); |
34 importScript("PieChart.js"); | 34 importScript("PieChart.js"); |
35 importScript("TimelineModel.js"); | 35 importScript("TimelineModel.js"); |
36 importScript("TimelineOverviewPane.js"); | 36 importScript("TimelineOverviewPane.js"); |
37 importScript("TimelinePresentationModel.js"); | 37 importScript("TimelinePresentationModel.js"); |
38 importScript("TimelineFrameController.js"); | 38 importScript("TimelineFrameController.js"); |
39 importScript("TimelineEventOverview.js"); | 39 importScript("TimelineEventOverview.js"); |
40 importScript("TimelineFrameOverview.js"); | 40 importScript("TimelineFrameOverview.js"); |
41 importScript("TimelineMemoryOverview.js"); | 41 importScript("TimelineMemoryOverview.js"); |
42 importScript("StackView.js"); | |
pfeldman
2014/01/14 16:32:33
move to UI component, bake into core (inspector.ht
loislo
2014/01/14 16:38:11
Done.
| |
42 importScript("TimelineView.js"); | 43 importScript("TimelineView.js"); |
43 | 44 |
44 /** | 45 /** |
45 * @constructor | 46 * @constructor |
46 * @extends {WebInspector.Panel} | 47 * @extends {WebInspector.Panel} |
47 */ | 48 */ |
48 WebInspector.TimelinePanel = function() | 49 WebInspector.TimelinePanel = function() |
49 { | 50 { |
50 WebInspector.Panel.call(this, "timeline"); | 51 WebInspector.Panel.call(this, "timeline"); |
51 this.registerRequiredCSS("timelinePanel.css"); | 52 this.registerRequiredCSS("timelinePanel.css"); |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
434 */ | 435 */ |
435 _loadEventFired: function(event) | 436 _loadEventFired: function(event) |
436 { | 437 { |
437 if (!this._recordingInProgress() || this._userInitiatedRecording) | 438 if (!this._recordingInProgress() || this._userInitiatedRecording) |
438 return; | 439 return; |
439 this._stopRecording(); | 440 this._stopRecording(); |
440 }, | 441 }, |
441 | 442 |
442 __proto__: WebInspector.Panel.prototype | 443 __proto__: WebInspector.Panel.prototype |
443 } | 444 } |
OLD | NEW |