OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 The Chromium Authors. All rights reserved. | 2 * Copyright 2014 The Chromium Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 /** | 7 /** |
8 * @constructor | 8 * @constructor |
9 * @extends {WebInspector.Object} | 9 * @extends {WebInspector.Object} |
10 */ | 10 */ |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 CreateObject: "N", | 56 CreateObject: "N", |
57 SnapshotObject: "O", | 57 SnapshotObject: "O", |
58 DeleteObject: "D" | 58 DeleteObject: "D" |
59 }; | 59 }; |
60 | 60 |
61 WebInspector.TracingModel.MetadataEvent = { | 61 WebInspector.TracingModel.MetadataEvent = { |
62 ProcessSortIndex: "process_sort_index", | 62 ProcessSortIndex: "process_sort_index", |
63 ProcessName: "process_name", | 63 ProcessName: "process_name", |
64 ThreadSortIndex: "thread_sort_index", | 64 ThreadSortIndex: "thread_sort_index", |
65 ThreadName: "thread_name" | 65 ThreadName: "thread_name" |
66 } | 66 }; |
| 67 |
| 68 WebInspector.TracingModel.DevToolsMetadataEventCategory = "disabled-by-default-d
evtools.timeline"; |
| 69 |
| 70 WebInspector.TracingModel.DevToolsMetadataEvent = { |
| 71 TimelineStarted: "TimelineStarted", |
| 72 SetLayerTreeId: "SetLayerTreeId" |
| 73 }; |
67 | 74 |
68 WebInspector.TracingModel.prototype = { | 75 WebInspector.TracingModel.prototype = { |
69 /** | 76 /** |
70 * @param {string} categoryPatterns | 77 * @param {string} categoryPatterns |
71 * @param {string} options | 78 * @param {string} options |
72 * @param {function(?string)=} callback | 79 * @param {function(?string)=} callback |
73 */ | 80 */ |
74 start: function(categoryPatterns, options, callback) | 81 start: function(categoryPatterns, options, callback) |
75 { | 82 { |
76 this.reset(); | 83 this.reset(); |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 dataCollected: function(data) | 448 dataCollected: function(data) |
442 { | 449 { |
443 this._tracingModel._eventsCollected(data); | 450 this._tracingModel._eventsCollected(data); |
444 }, | 451 }, |
445 | 452 |
446 tracingComplete: function() | 453 tracingComplete: function() |
447 { | 454 { |
448 this._tracingModel._tracingComplete(); | 455 this._tracingModel._tracingComplete(); |
449 } | 456 } |
450 } | 457 } |
OLD | NEW |