| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 /** @interface */ | 4 /** @interface */ |
| 5 Bindings.LiveLocation = function() {}; | 5 Bindings.LiveLocation = function() {}; |
| 6 | 6 |
| 7 Bindings.LiveLocation.prototype = { | 7 Bindings.LiveLocation.prototype = { |
| 8 update: function() {}, | 8 update() {}, |
| 9 | 9 |
| 10 /** | 10 /** |
| 11 * @return {?Workspace.UILocation} | 11 * @return {?Workspace.UILocation} |
| 12 */ | 12 */ |
| 13 uiLocation: function() {}, | 13 uiLocation() {}, |
| 14 | 14 |
| 15 dispose: function() {}, | 15 dispose() {}, |
| 16 | 16 |
| 17 /** | 17 /** |
| 18 * @return {boolean} | 18 * @return {boolean} |
| 19 */ | 19 */ |
| 20 isBlackboxed: function() {} | 20 isBlackboxed() {} |
| 21 }; | 21 }; |
| 22 | 22 |
| 23 /** | 23 /** |
| 24 * @implements {Bindings.LiveLocation} | 24 * @implements {Bindings.LiveLocation} |
| 25 * @unrestricted | 25 * @unrestricted |
| 26 */ | 26 */ |
| 27 Bindings.LiveLocationWithPool = class { | 27 Bindings.LiveLocationWithPool = class { |
| 28 /** | 28 /** |
| 29 * @param {function(!Bindings.LiveLocation)} updateDelegate | 29 * @param {function(!Bindings.LiveLocation)} updateDelegate |
| 30 * @param {!Bindings.LiveLocationPool} locationPool | 30 * @param {!Bindings.LiveLocationPool} locationPool |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 */ | 87 */ |
| 88 _delete(location) { | 88 _delete(location) { |
| 89 this._locations.delete(location); | 89 this._locations.delete(location); |
| 90 } | 90 } |
| 91 | 91 |
| 92 disposeAll() { | 92 disposeAll() { |
| 93 for (var location of this._locations) | 93 for (var location of this._locations) |
| 94 location.dispose(); | 94 location.dispose(); |
| 95 } | 95 } |
| 96 }; | 96 }; |
| OLD | NEW |