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

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

Issue 212683005: Timeline Trace viewer prototype (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased, extracted model into a file of its own Created 6 years, 8 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
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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 this._popoverHelper = new WebInspector.PopoverHelper(this.element, this._get PopoverAnchor.bind(this), this._showPopover.bind(this)); 64 this._popoverHelper = new WebInspector.PopoverHelper(this.element, this._get PopoverAnchor.bind(this), this._showPopover.bind(this));
65 65
66 this.element.addEventListener("mousemove", this._mouseMove.bind(this), false ); 66 this.element.addEventListener("mousemove", this._mouseMove.bind(this), false );
67 this.element.addEventListener("mouseout", this._mouseOut.bind(this), false); 67 this.element.addEventListener("mouseout", this._mouseOut.bind(this), false);
68 this.element.addEventListener("keydown", this._keyDown.bind(this), false); 68 this.element.addEventListener("keydown", this._keyDown.bind(this), false);
69 69
70 this._expandOffset = 15; 70 this._expandOffset = 15;
71 } 71 }
72 72
73 WebInspector.TimelineView.prototype = { 73 WebInspector.TimelineView.prototype = {
74 timelineStarted: function()
75 {
76 },
77
78 timelineStopped: function()
79 {
80 },
81
74 /** 82 /**
75 * @param {?WebInspector.TimelineFrameModel} frameModel 83 * @param {?WebInspector.TimelineFrameModel} frameModel
76 */ 84 */
77 setFrameModel: function(frameModel) 85 setFrameModel: function(frameModel)
78 { 86 {
79 this._frameModel = frameModel; 87 this._frameModel = frameModel;
80 }, 88 },
81 89
82 /** 90 /**
83 * @return {!WebInspector.SplitView} 91 * @return {!WebInspector.SplitView}
(...skipping 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after
1245 this._element.classList.remove("hidden"); 1253 this._element.classList.remove("hidden");
1246 } else 1254 } else
1247 this._element.classList.add("hidden"); 1255 this._element.classList.add("hidden");
1248 }, 1256 },
1249 1257
1250 _dispose: function() 1258 _dispose: function()
1251 { 1259 {
1252 this._element.remove(); 1260 this._element.remove();
1253 } 1261 }
1254 } 1262 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/TimelineTracingView.js ('k') | Source/devtools/front_end/TracingAgent.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698