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

Side by Side Diff: Source/devtools/front_end/sdk/ResourceTreeModel.js

Issue 761143003: DevTools: remove ScriptPreprocessor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 10 months 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 | Annotate | Revision Log
« no previous file with comments | « Source/devtools/front_end/externs.js ('k') | Source/devtools/protocol.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/externs.js ('k') | Source/devtools/protocol.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698