OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 /** | 238 /** |
239 * @constructor | 239 * @constructor |
240 * @implements {WebInspector.ContextMenu.Provider} | 240 * @implements {WebInspector.ContextMenu.Provider} |
241 */ | 241 */ |
242 WebInspector.HandlerRegistry.ContextMenuProvider = function() | 242 WebInspector.HandlerRegistry.ContextMenuProvider = function() |
243 { | 243 { |
244 } | 244 } |
245 | 245 |
246 WebInspector.HandlerRegistry.ContextMenuProvider.prototype = { | 246 WebInspector.HandlerRegistry.ContextMenuProvider.prototype = { |
247 /** | 247 /** |
| 248 * @param {!Event} event |
248 * @param {!WebInspector.ContextMenu} contextMenu | 249 * @param {!WebInspector.ContextMenu} contextMenu |
249 * @param {!Object} target | 250 * @param {!Object} target |
250 */ | 251 */ |
251 appendApplicableItems: function(event, contextMenu, target) | 252 appendApplicableItems: function(event, contextMenu, target) |
252 { | 253 { |
253 WebInspector.openAnchorLocationRegistry._appendContentProviderItems(cont
extMenu, target); | 254 WebInspector.openAnchorLocationRegistry._appendContentProviderItems(cont
extMenu, target); |
254 WebInspector.openAnchorLocationRegistry._appendHrefItems(contextMenu, ta
rget); | 255 WebInspector.openAnchorLocationRegistry._appendHrefItems(contextMenu, ta
rget); |
255 } | 256 } |
256 } | 257 } |
257 | 258 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 return WebInspector.SettingsUI.createCustomSetting(WebInspector.UIString
("Open links in"), handlerSelector.element); | 299 return WebInspector.SettingsUI.createCustomSetting(WebInspector.UIString
("Open links in"), handlerSelector.element); |
299 }, | 300 }, |
300 | 301 |
301 __proto__: WebInspector.UISettingDelegate.prototype | 302 __proto__: WebInspector.UISettingDelegate.prototype |
302 } | 303 } |
303 | 304 |
304 /** | 305 /** |
305 * @type {!WebInspector.HandlerRegistry} | 306 * @type {!WebInspector.HandlerRegistry} |
306 */ | 307 */ |
307 WebInspector.openAnchorLocationRegistry; | 308 WebInspector.openAnchorLocationRegistry; |
OLD | NEW |