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

Side by Side Diff: Source/devtools/front_end/profiler/CPUProfileView.js

Issue 1113813002: [DevTools] Rename View to Widget. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 7 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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 */ 109 */
110 currentSearchResultIndex: function() {} 110 currentSearchResultIndex: function() {}
111 } 111 }
112 112
113 WebInspector.CPUProfileView.prototype = { 113 WebInspector.CPUProfileView.prototype = {
114 focus: function() 114 focus: function()
115 { 115 {
116 if (this._flameChart) 116 if (this._flameChart)
117 this._flameChart.focus(); 117 this._flameChart.focus();
118 else 118 else
119 WebInspector.View.prototype.focus.call(this); 119 WebInspector.Widget.prototype.focus.call(this);
120 }, 120 },
121 121
122 /** 122 /**
123 * @return {?WebInspector.Target} 123 * @return {?WebInspector.Target}
124 */ 124 */
125 target: function() 125 target: function()
126 { 126 {
127 return this._profileHeader.target(); 127 return this._profileHeader.target();
128 }, 128 },
129 129
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 _notifyTempFileReady: function() 805 _notifyTempFileReady: function()
806 { 806 {
807 if (this._onTempFileReady) { 807 if (this._onTempFileReady) {
808 this._onTempFileReady(); 808 this._onTempFileReady();
809 this._onTempFileReady = null; 809 this._onTempFileReady = null;
810 } 810 }
811 }, 811 },
812 812
813 __proto__: WebInspector.ProfileHeader.prototype 813 __proto__: WebInspector.ProfileHeader.prototype
814 } 814 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/network/XMLView.js ('k') | Source/devtools/front_end/profiler/HeapSnapshotView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698