OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 element.addEventListener("keydown", keyDownListener, false); | 266 element.addEventListener("keydown", keyDownListener, false); |
267 function keyDownListener(event) | 267 function keyDownListener(event) |
268 { | 268 { |
269 if (isEnterKey(event)) | 269 if (isEnterKey(event)) |
270 eventListener(event); | 270 eventListener(event); |
271 } | 271 } |
272 return element; | 272 return element; |
273 } | 273 } |
274 | 274 |
275 /** | 275 /** |
276 * @constructor | 276 * @interface |
277 */ | 277 */ |
278 WebInspector.UISettingDelegate = function() | 278 WebInspector.SettingUI = function() |
279 { | 279 { |
280 } | 280 } |
281 | 281 |
282 WebInspector.UISettingDelegate.prototype = { | 282 WebInspector.SettingUI.prototype = { |
283 /** | 283 /** |
284 * @return {?Element} | 284 * @return {?Element} |
285 */ | 285 */ |
286 settingElement: function() | 286 settingElement: function() { } |
287 { | |
288 return null; | |
289 } | |
290 } | 287 } |
OLD | NEW |