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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui/Context.js

Issue 2515763003: DevTools: use shorthand syntax in interface definitions. (Closed)
Patch Set: Created 4 years, 1 month 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
OLDNEW
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
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();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698