Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 366 | 366 |
| 367 /** | 367 /** |
| 368 * @param {string} url | 368 * @param {string} url |
| 369 * @return {!Element} | 369 * @return {!Element} |
| 370 */ | 370 */ |
| 371 WebInspector.AuditRuleResult.linkifyDisplayName = function(url) | 371 WebInspector.AuditRuleResult.linkifyDisplayName = function(url) |
| 372 { | 372 { |
| 373 return WebInspector.linkifyURLAsNode(url, WebInspector.displayNameForURL(url )); | 373 return WebInspector.linkifyURLAsNode(url, WebInspector.displayNameForURL(url )); |
| 374 } | 374 } |
| 375 | 375 |
| 376 /** | |
| 377 * @return {string} | |
|
yurys
2014/06/17 11:32:29
add @param annotation?
aandrey
2014/06/17 11:33:54
@param {string} domain
apavlov
2014/06/17 12:46:03
Done.
| |
| 378 */ | |
| 376 WebInspector.AuditRuleResult.resourceDomain = function(domain) | 379 WebInspector.AuditRuleResult.resourceDomain = function(domain) |
| 377 { | 380 { |
| 378 return domain || WebInspector.UIString("[empty domain]"); | 381 return domain || WebInspector.UIString("[empty domain]"); |
| 379 } | 382 } |
| 380 | 383 |
| 381 WebInspector.AuditRuleResult.prototype = { | 384 WebInspector.AuditRuleResult.prototype = { |
| 382 /** | 385 /** |
| 383 * @param {(string|boolean|number|!Object)} value | 386 * @param {(string|boolean|number|!Object)} value |
| 384 * @param {boolean=} expanded | 387 * @param {boolean=} expanded |
| 385 * @param {string=} className | 388 * @param {string=} className |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 519 */ | 522 */ |
| 520 WebInspector.AuditCategories = {}; | 523 WebInspector.AuditCategories = {}; |
| 521 | 524 |
| 522 importScript("AuditCategory.js"); | 525 importScript("AuditCategory.js"); |
| 523 importScript("AuditCategories.js"); | 526 importScript("AuditCategories.js"); |
| 524 importScript("AuditController.js"); | 527 importScript("AuditController.js"); |
| 525 importScript("AuditFormatters.js"); | 528 importScript("AuditFormatters.js"); |
| 526 importScript("AuditLauncherView.js"); | 529 importScript("AuditLauncherView.js"); |
| 527 importScript("AuditResultView.js"); | 530 importScript("AuditResultView.js"); |
| 528 importScript("AuditRules.js"); | 531 importScript("AuditRules.js"); |
| OLD | NEW |