OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 this.element.addEventListener("mousemove", this._mouseMove.bind(this), false
); | 67 this.element.addEventListener("mousemove", this._mouseMove.bind(this), false
); |
68 this.element.addEventListener("mouseout", this._mouseOut.bind(this), false); | 68 this.element.addEventListener("mouseout", this._mouseOut.bind(this), false); |
69 this.element.addEventListener("keydown", this._keyDown.bind(this), false); | 69 this.element.addEventListener("keydown", this._keyDown.bind(this), false); |
70 | 70 |
71 this._expandOffset = 15; | 71 this._expandOffset = 15; |
72 } | 72 } |
73 | 73 |
74 WebInspector.TimelineView.prototype = { | 74 WebInspector.TimelineView.prototype = { |
75 /** | 75 /** |
76 * @param {?WebInspector.TimelineFrameModel} frameModel | 76 * @param {?WebInspector.TimelineFrameModelBase} frameModel |
77 */ | 77 */ |
78 setFrameModel: function(frameModel) | 78 setFrameModel: function(frameModel) |
79 { | 79 { |
80 this._frameModel = frameModel; | 80 this._frameModel = frameModel; |
81 }, | 81 }, |
82 | 82 |
83 /** | 83 /** |
84 * @return {!WebInspector.SplitView} | 84 * @return {!WebInspector.SplitView} |
85 */ | 85 */ |
86 _createRecordsView: function() | 86 _createRecordsView: function() |
(...skipping 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1299 this._element.classList.remove("hidden"); | 1299 this._element.classList.remove("hidden"); |
1300 } else | 1300 } else |
1301 this._element.classList.add("hidden"); | 1301 this._element.classList.add("hidden"); |
1302 }, | 1302 }, |
1303 | 1303 |
1304 _dispose: function() | 1304 _dispose: function() |
1305 { | 1305 { |
1306 this._element.remove(); | 1306 this._element.remove(); |
1307 } | 1307 } |
1308 } | 1308 } |
OLD | NEW |