| 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 /** | 4 /** |
| 5 * @unrestricted | 5 * @unrestricted |
| 6 */ | 6 */ |
| 7 UI.Context = class { | 7 UI.Context = class { |
| 8 constructor() { | 8 constructor() { |
| 9 this._flavors = new Map(); | 9 this._flavors = new Map(); |
| 10 this._eventDispatchers = new Map(); | 10 this._eventDispatchers = new Map(); |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 113 |
| 114 /** | 114 /** |
| 115 * @interface | 115 * @interface |
| 116 */ | 116 */ |
| 117 UI.ContextFlavorListener = function() {}; | 117 UI.ContextFlavorListener = function() {}; |
| 118 | 118 |
| 119 UI.ContextFlavorListener.prototype = { | 119 UI.ContextFlavorListener.prototype = { |
| 120 /** | 120 /** |
| 121 * @param {?Object} object | 121 * @param {?Object} object |
| 122 */ | 122 */ |
| 123 flavorChanged: function(object) {} | 123 flavorChanged(object) {} |
| 124 }; | 124 }; |
| 125 | 125 |
| 126 UI.context = new UI.Context(); | 126 UI.context = new UI.Context(); |
| OLD | NEW |