| 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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 * @return {!WebInspector.Resource} | 490 * @return {!WebInspector.Resource} |
| 491 */ | 491 */ |
| 492 _createResourceFromFramePayload: function(frame, url, type, mimeType) | 492 _createResourceFromFramePayload: function(frame, url, type, mimeType) |
| 493 { | 493 { |
| 494 return new WebInspector.Resource(this.target(), null, url, frame.url, fr
ame.id, frame.loaderId, type, mimeType); | 494 return new WebInspector.Resource(this.target(), null, url, frame.url, fr
ame.id, frame.loaderId, type, mimeType); |
| 495 }, | 495 }, |
| 496 | 496 |
| 497 /** | 497 /** |
| 498 * @param {boolean=} ignoreCache | 498 * @param {boolean=} ignoreCache |
| 499 * @param {string=} scriptToEvaluateOnLoad | 499 * @param {string=} scriptToEvaluateOnLoad |
| 500 * @param {string=} scriptPreprocessor | |
| 501 */ | 500 */ |
| 502 reloadPage: function(ignoreCache, scriptToEvaluateOnLoad, scriptPreprocessor
) | 501 reloadPage: function(ignoreCache, scriptToEvaluateOnLoad) |
| 503 { | 502 { |
| 504 this.dispatchEventToListeners(WebInspector.ResourceTreeModel.EventTypes.
WillReloadPage); | 503 this.dispatchEventToListeners(WebInspector.ResourceTreeModel.EventTypes.
WillReloadPage); |
| 505 this._agent.reload(ignoreCache, scriptToEvaluateOnLoad, scriptPreprocess
or); | 504 this._agent.reload(ignoreCache, scriptToEvaluateOnLoad); |
| 506 }, | 505 }, |
| 507 | 506 |
| 508 __proto__: WebInspector.SDKModel.prototype | 507 __proto__: WebInspector.SDKModel.prototype |
| 509 } | 508 } |
| 510 | 509 |
| 511 /** | 510 /** |
| 512 * @constructor | 511 * @constructor |
| 513 * @param {!WebInspector.ResourceTreeModel} model | 512 * @param {!WebInspector.ResourceTreeModel} model |
| 514 * @param {?WebInspector.ResourceTreeFrame} parentFrame | 513 * @param {?WebInspector.ResourceTreeFrame} parentFrame |
| 515 * @param {!PageAgent.FrameId} frameId | 514 * @param {!PageAgent.FrameId} frameId |
| (...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 929 }, | 928 }, |
| 930 | 929 |
| 931 /** | 930 /** |
| 932 * @override | 931 * @override |
| 933 */ | 932 */ |
| 934 interstitialHidden: function() | 933 interstitialHidden: function() |
| 935 { | 934 { |
| 936 // Frontend is not interested in interstitials. | 935 // Frontend is not interested in interstitials. |
| 937 } | 936 } |
| 938 } | 937 } |
| OLD | NEW |