| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |