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

Side by Side Diff: Source/core/inspector/InspectorInstrumentation.idl

Issue 1295903005: [DevTools] Implementation of resource requests blocked by specific urls. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 [Resource, Page, Inline=FastReturn] 218 [Resource, Page, Inline=FastReturn]
219 void didRecalculateStyle(const InspectorInstrumentationCookie&, int elementC ount); 219 void didRecalculateStyle(const InspectorInstrumentationCookie&, int elementC ount);
220 220
221 [Resource, Inline=FastReturn] 221 [Resource, Inline=FastReturn]
222 void didScheduleStyleRecalculation([Keep] Document*); 222 void didScheduleStyleRecalculation([Keep] Document*);
223 223
224 [Resource, Inline=FastReturn] 224 [Resource, Inline=FastReturn]
225 void applyUserAgentOverride(LocalFrame*, String* userAgent); 225 void applyUserAgentOverride(LocalFrame*, String* userAgent);
226 226
227 [Resource] 227 [Resource]
228 bool shouldBlockRequest(LocalFrame*, const ResourceRequest&);
229
230 [Resource]
228 void willSendRequest(LocalFrame*, unsigned long identifier, DocumentLoader*, ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInitiato rInfo&); 231 void willSendRequest(LocalFrame*, unsigned long identifier, DocumentLoader*, ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInitiato rInfo&);
229 232
230 [Resource] 233 [Resource]
231 void markResourceAsCached(LocalFrame*, unsigned long identifier); 234 void markResourceAsCached(LocalFrame*, unsigned long identifier);
232 235
233 [Resource] 236 [Resource]
234 void didReceiveResourceResponse([Keep] LocalFrame*, unsigned long identifier , DocumentLoader*, const ResourceResponse&, ResourceLoader*); 237 void didReceiveResourceResponse([Keep] LocalFrame*, unsigned long identifier , DocumentLoader*, const ResourceResponse&, ResourceLoader*);
235 238
236 [Inline=Forward] 239 [Inline=Forward]
237 void continueAfterXFrameOptionsDenied(LocalFrame* frame, DocumentLoader* loa der, unsigned long identifier, const ResourceResponse& r); 240 void continueAfterXFrameOptionsDenied(LocalFrame* frame, DocumentLoader* loa der, unsigned long identifier, const ResourceResponse& r);
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 interface InspectorOverrides { 448 interface InspectorOverrides {
446 [CSS, Inline=FastReturn] 449 [CSS, Inline=FastReturn]
447 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud oState); 450 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud oState);
448 451
449 [Worker, Inline=FastReturn] 452 [Worker, Inline=FastReturn]
450 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context); 453 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context);
451 454
452 [Resource, Inline=FastReturn] 455 [Resource, Inline=FastReturn]
453 bool shouldForceCORSPreflight(Document*); 456 bool shouldForceCORSPreflight(Document*);
454 } 457 }
OLDNEW
« no previous file with comments | « no previous file | Source/core/inspector/InspectorResourceAgent.h » ('j') | Source/core/inspector/InspectorResourceAgent.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698