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

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

Issue 320953002: Timeline: split frame model into trace-specific and record-specific parts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased and removed extra semicolon Created 6 years, 6 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/timeline/TimelinePanel.js ('k') | no next file » | 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) 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
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
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 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/timeline/TimelinePanel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698