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

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

Issue 892693006: Revert of DevTools: use per-LocalFrame instrumenting agents instead of per-Page ones. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 [Timeline, Inline=FastReturn] 227 [Timeline, Inline=FastReturn]
228 void didInvalidateLayout([Keep] LocalFrame*); 228 void didInvalidateLayout([Keep] LocalFrame*);
229 229
230 [Timeline, Inline=FastReturn] 230 [Timeline, Inline=FastReturn]
231 InspectorInstrumentationCookie willLayout([Keep] LocalFrame*); 231 InspectorInstrumentationCookie willLayout([Keep] LocalFrame*);
232 232
233 [Timeline, Page, Inline=FastReturn] 233 [Timeline, Page, Inline=FastReturn]
234 void didLayout(const InspectorInstrumentationCookie&, RenderObject* root); 234 void didLayout(const InspectorInstrumentationCookie&, RenderObject* root);
235 235
236 [Page, Inline=FastReturn] 236 [Page, Inline=FastReturn]
237 void didScroll(LocalFrame*); 237 void didScroll(Page*);
238 238
239 [Page, Inline=FastReturn] 239 [Page, Inline=FastReturn]
240 void didResizeMainFrame(LocalFrame*); 240 void didResizeMainFrame(Page*);
241 241
242 [Timeline, Inline=FastReturn] 242 [Timeline, Inline=FastReturn]
243 InspectorInstrumentationCookie willDispatchXHRLoadEvent([Keep] ExecutionCont ext*, XMLHttpRequest*); 243 InspectorInstrumentationCookie willDispatchXHRLoadEvent([Keep] ExecutionCont ext*, XMLHttpRequest*);
244 244
245 [Timeline, Inline=FastReturn] 245 [Timeline, Inline=FastReturn]
246 void didDispatchXHRLoadEvent(const InspectorInstrumentationCookie&); 246 void didDispatchXHRLoadEvent(const InspectorInstrumentationCookie&);
247 247
248 [AsyncCallTracker, Inline=FastReturn] 248 [AsyncCallTracker, Inline=FastReturn]
249 void didDispatchXHRLoadendEvent(ExecutionContext*, XMLHttpRequest*); 249 void didDispatchXHRLoadendEvent(ExecutionContext*, XMLHttpRequest*);
250 250
(...skipping 30 matching lines...) Expand all
281 [Page, Inline=FastReturn] 281 [Page, Inline=FastReturn]
282 bool applyViewportStyleOverride(Document*, StyleResolver*); 282 bool applyViewportStyleOverride(Document*, StyleResolver*);
283 283
284 [Page, Inline=FastReturn] 284 [Page, Inline=FastReturn]
285 void applyEmulatedMedia(LocalFrame*, String* media); 285 void applyEmulatedMedia(LocalFrame*, String* media);
286 286
287 [Timeline, Resource] 287 [Timeline, Resource]
288 void willSendRequest(LocalFrame*, unsigned long identifier, DocumentLoader*, ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInitiato rInfo&); 288 void willSendRequest(LocalFrame*, unsigned long identifier, DocumentLoader*, ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInitiato rInfo&);
289 289
290 [Resource] 290 [Resource]
291 void markResourceAsCached(LocalFrame*, unsigned long identifier); 291 void markResourceAsCached(Page*, unsigned long identifier);
292 292
293 [Timeline, Resource] 293 [Timeline, Resource]
294 void didReceiveResourceResponse([Keep] LocalFrame*, unsigned long identifier , DocumentLoader*, const ResourceResponse&, ResourceLoader*); 294 void didReceiveResourceResponse([Keep] LocalFrame*, unsigned long identifier , DocumentLoader*, const ResourceResponse&, ResourceLoader*);
295 295
296 [Inline=Forward] 296 [Inline=Forward]
297 void continueAfterXFrameOptionsDenied(LocalFrame* frame, DocumentLoader* loa der, unsigned long identifier, const ResourceResponse& r); 297 void continueAfterXFrameOptionsDenied(LocalFrame* frame, DocumentLoader* loa der, unsigned long identifier, const ResourceResponse& r);
298 298
299 [Inline=Forward] 299 [Inline=Forward]
300 void continueWithPolicyIgnore(LocalFrame* frame, DocumentLoader* loader, uns igned long identifier, const ResourceResponse& r); 300 void continueWithPolicyIgnore(LocalFrame* frame, DocumentLoader* loader, uns igned long identifier, const ResourceResponse& r);
301 301
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 [Page] 368 [Page]
369 void frameStoppedLoading([Keep] LocalFrame*); 369 void frameStoppedLoading([Keep] LocalFrame*);
370 370
371 [Page, Resource] 371 [Page, Resource]
372 void frameScheduledNavigation([Keep] LocalFrame*, double delay); 372 void frameScheduledNavigation([Keep] LocalFrame*, double delay);
373 373
374 [Page, Resource] 374 [Page, Resource]
375 void frameClearedScheduledNavigation([Keep] LocalFrame*); 375 void frameClearedScheduledNavigation([Keep] LocalFrame*);
376 376
377 [Page, Inline=FastReturn] 377 [Page, Inline=FastReturn]
378 InspectorInstrumentationCookie willRunJavaScriptDialog(LocalFrame*, const St ring& message); 378 InspectorInstrumentationCookie willRunJavaScriptDialog(Page*, const String& message);
379 379
380 [Page, Inline=FastReturn] 380 [Page, Inline=FastReturn]
381 void didRunJavaScriptDialog(const InspectorInstrumentationCookie&); 381 void didRunJavaScriptDialog(const InspectorInstrumentationCookie&);
382 382
383 [Inline=Forward] 383 [Inline=Forward]
384 void willDestroyResource(Resource* cachedResource); 384 void willDestroyResource(Resource* cachedResource);
385 385
386 [Timeline, Inline=FastReturn] 386 [Timeline, Inline=FastReturn]
387 InspectorInstrumentationCookie willWriteHTML([Keep] Document*, unsigned star tLine); 387 InspectorInstrumentationCookie willWriteHTML([Keep] Document*, unsigned star tLine);
388 388
389 [Timeline, Inline=FastReturn] 389 [Timeline, Inline=FastReturn]
390 void didWriteHTML(const InspectorInstrumentationCookie&, unsigned endLine); 390 void didWriteHTML(const InspectorInstrumentationCookie&, unsigned endLine);
391 391
392 [AsyncCallTracker, DOMDebugger, Timeline] 392 [AsyncCallTracker, DOMDebugger, Timeline]
393 void didRequestAnimationFrame([Keep] Document*, int callbackId); 393 void didRequestAnimationFrame([Keep] Document*, int callbackId);
394 394
395 [AsyncCallTracker, DOMDebugger, Timeline] 395 [AsyncCallTracker, DOMDebugger, Timeline]
396 void didCancelAnimationFrame([Keep] Document*, int callbackId); 396 void didCancelAnimationFrame([Keep] Document*, int callbackId);
397 397
398 [AsyncCallTracker, DOMDebugger, Timeline] 398 [AsyncCallTracker, DOMDebugger, Timeline]
399 InspectorInstrumentationCookie willFireAnimationFrame([Keep] Document*, int callbackId); 399 InspectorInstrumentationCookie willFireAnimationFrame([Keep] Document*, int callbackId);
400 400
401 [AsyncCallTracker, Timeline, Inline=FastReturn] 401 [AsyncCallTracker, Timeline, Inline=FastReturn]
402 void didFireAnimationFrame(const InspectorInstrumentationCookie&); 402 void didFireAnimationFrame(const InspectorInstrumentationCookie&);
403 403
404 [DOMStorage, Inline=FastReturn] 404 [DOMStorage, Inline=FastReturn]
405 void didDispatchDOMStorageEvent([Keep] LocalFrame*, const String& key, const String& oldValue, const String& newValue, StorageType storageType, SecurityOrig in* securityOrigin); 405 void didDispatchDOMStorageEvent(Page* page, const String& key, const String& oldValue, const String& newValue, StorageType storageType, SecurityOrigin* secu rityOrigin);
406 406
407 [Worker] 407 [Worker]
408 void didStartWorker(ExecutionContext*, WorkerInspectorProxy* proxy, const KU RL& url); 408 void didStartWorker(ExecutionContext*, WorkerInspectorProxy* proxy, const KU RL& url);
409 409
410 [Worker, PageConsole] 410 [Worker, PageConsole]
411 void workerTerminated(ExecutionContext*, WorkerInspectorProxy* proxy); 411 void workerTerminated(ExecutionContext*, WorkerInspectorProxy* proxy);
412 412
413 [WorkerRuntime] 413 [WorkerRuntime]
414 void willEvaluateWorkerScript([Keep] WorkerGlobalScope* context, int workerT hreadStartMode); 414 void willEvaluateWorkerScript([Keep] WorkerGlobalScope* context, int workerT hreadStartMode);
415 415
(...skipping 24 matching lines...) Expand all
440 [Resource] 440 [Resource]
441 void didReceiveWebSocketFrame(Document*, unsigned long identifier, int opCod e, bool masked, const char* payload, size_t payloadLength); 441 void didReceiveWebSocketFrame(Document*, unsigned long identifier, int opCod e, bool masked, const char* payload, size_t payloadLength);
442 442
443 [Resource] 443 [Resource]
444 void didSendWebSocketFrame(Document*, unsigned long identifier, int opCode, bool masked, const char* payload, size_t payloadLength); 444 void didSendWebSocketFrame(Document*, unsigned long identifier, int opCode, bool masked, const char* payload, size_t payloadLength);
445 445
446 [Resource] 446 [Resource]
447 void didReceiveWebSocketFrameError(Document*, unsigned long identifier, cons t String& errorMessage); 447 void didReceiveWebSocketFrameError(Document*, unsigned long identifier, cons t String& errorMessage);
448 448
449 [ApplicationCache, Inline=FastReturn] 449 [ApplicationCache, Inline=FastReturn]
450 void networkStateChanged([Keep] LocalFrame*, bool online); 450 void networkStateChanged(Page*, bool online);
451 451
452 [ApplicationCache, Inline=FastReturn] 452 [ApplicationCache, Inline=FastReturn]
453 void updateApplicationCacheStatus([Keep] LocalFrame*); 453 void updateApplicationCacheStatus([Keep] LocalFrame*);
454 454
455 [Timeline, Inline=FastReturn] 455 [Timeline, Inline=FastReturn]
456 void willUpdateLayerTree(LocalFrame*); 456 void willUpdateLayerTree(LocalFrame*);
457 [Timeline, LayerTree, Inline=FastReturn] 457 [Timeline, LayerTree, Inline=FastReturn]
458 void layerTreeDidChange(LocalFrame*); 458 void layerTreeDidChange(LocalFrame*);
459 [Timeline, Inline=FastReturn] 459 [Timeline, Inline=FastReturn]
460 void didUpdateLayerTree(LocalFrame*); 460 void didUpdateLayerTree(LocalFrame*);
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 interface InspectorCanvasInstrumentation { 530 interface InspectorCanvasInstrumentation {
531 531
532 #include "bindings/core/v8/ScriptValue.h" 532 #include "bindings/core/v8/ScriptValue.h"
533 533
534 [Canvas] 534 [Canvas]
535 ScriptValue wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptValue&); 535 ScriptValue wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptValue&);
536 536
537 [Canvas] 537 [Canvas]
538 ScriptValue wrapWebGLRenderingContextForInstrumentation(Document*, const Scr iptValue&); 538 ScriptValue wrapWebGLRenderingContextForInstrumentation(Document*, const Scr iptValue&);
539 } 539 }
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.cpp ('k') | Source/core/inspector/InspectorInstrumentationCustomInl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698