| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 | 358 |
| 359 static InstrumentingAgents* instrumentingAgentsForPage(Page*); | 359 static InstrumentingAgents* instrumentingAgentsForPage(Page*); |
| 360 static InstrumentingAgents* instrumentingAgentsForFrame(Frame*); | 360 static InstrumentingAgents* instrumentingAgentsForFrame(Frame*); |
| 361 static InstrumentingAgents* instrumentingAgentsForContext(ScriptExecutionCon
text*); | 361 static InstrumentingAgents* instrumentingAgentsForContext(ScriptExecutionCon
text*); |
| 362 static InstrumentingAgents* instrumentingAgentsForDocument(Document*); | 362 static InstrumentingAgents* instrumentingAgentsForDocument(Document*); |
| 363 #if ENABLE(WORKERS) | 363 #if ENABLE(WORKERS) |
| 364 static InstrumentingAgents* instrumentingAgentsForWorkerContext(WorkerContex
t*); | 364 static InstrumentingAgents* instrumentingAgentsForWorkerContext(WorkerContex
t*); |
| 365 #endif | 365 #endif |
| 366 | 366 |
| 367 static bool collectingHTMLParseErrors(InstrumentingAgents*); | 367 static bool collectingHTMLParseErrors(InstrumentingAgents*); |
| 368 static void pauseOnNativeEventIfNeeded(InstrumentingAgents*, const String& c
ategoryType, const String& eventName, bool synchronous); | 368 static void pauseOnNativeEventIfNeeded(InstrumentingAgents*, bool isDOMEvent
, const String& eventName, bool synchronous); |
| 369 static void cancelPauseOnNativeEvent(InstrumentingAgents*); | 369 static void cancelPauseOnNativeEvent(InstrumentingAgents*); |
| 370 static InspectorTimelineAgent* retrieveTimelineAgent(const InspectorInstrume
ntationCookie&); | 370 static InspectorTimelineAgent* retrieveTimelineAgent(const InspectorInstrume
ntationCookie&); |
| 371 | 371 |
| 372 static int s_frontendCounter; | 372 static int s_frontendCounter; |
| 373 #endif | 373 #endif |
| 374 }; | 374 }; |
| 375 | 375 |
| 376 inline void InspectorInstrumentation::didClearWindowObjectInWorld(Frame* frame,
DOMWrapperWorld* world) | 376 inline void InspectorInstrumentation::didClearWindowObjectInWorld(Frame* frame,
DOMWrapperWorld* world) |
| 377 { | 377 { |
| 378 #if ENABLE(INSPECTOR) | 378 #if ENABLE(INSPECTOR) |
| (...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1210 { | 1210 { |
| 1211 if (document) | 1211 if (document) |
| 1212 return instrumentingAgentsForPage(document->page()); | 1212 return instrumentingAgentsForPage(document->page()); |
| 1213 return 0; | 1213 return 0; |
| 1214 } | 1214 } |
| 1215 #endif | 1215 #endif |
| 1216 | 1216 |
| 1217 } // namespace WebCore | 1217 } // namespace WebCore |
| 1218 | 1218 |
| 1219 #endif // !defined(InspectorInstrumentation_h) | 1219 #endif // !defined(InspectorInstrumentation_h) |
| OLD | NEW |