| Index: Source/WebCore/inspector/InspectorInstrumentation.h
|
| ===================================================================
|
| --- Source/WebCore/inspector/InspectorInstrumentation.h (revision 107228)
|
| +++ Source/WebCore/inspector/InspectorInstrumentation.h (working copy)
|
| @@ -80,6 +80,7 @@
|
| class InspectorInstrumentation {
|
| public:
|
| static void didClearWindowObjectInWorld(Frame*, DOMWrapperWorld*);
|
| + static bool isDebuggerPaused(Frame*);
|
|
|
| static void willInsertDOMNode(Document*, Node*, Node* parent);
|
| static void didInsertDOMNode(Document*, Node*);
|
| @@ -226,6 +227,7 @@
|
| private:
|
| #if ENABLE(INSPECTOR)
|
| static void didClearWindowObjectInWorldImpl(InstrumentingAgents*, Frame*, DOMWrapperWorld*);
|
| + static bool isDebuggerPausedImpl(InstrumentingAgents*);
|
|
|
| static void willInsertDOMNodeImpl(InstrumentingAgents*, Node*, Node* parent);
|
| static void didInsertDOMNodeImpl(InstrumentingAgents*, Node*);
|
| @@ -379,6 +381,16 @@
|
| #endif
|
| }
|
|
|
| +inline bool InspectorInstrumentation::isDebuggerPaused(Frame* frame)
|
| +{
|
| +#if ENABLE(INSPECTOR)
|
| + FAST_RETURN_IF_NO_FRONTENDS(false);
|
| + if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
|
| + return isDebuggerPausedImpl(instrumentingAgents);
|
| +#endif
|
| + return false;
|
| +}
|
| +
|
| inline void InspectorInstrumentation::willInsertDOMNode(Document* document, Node* node, Node* parent)
|
| {
|
| #if ENABLE(INSPECTOR)
|
|
|