|
Lines 40-45
a/Source/WebCore/inspector/InspectorInstrumentation.h_sec1
|
| 40 |
#include "ScriptExecutionContext.h" |
40 |
#include "ScriptExecutionContext.h" |
| 41 |
#include "StorageArea.h" |
41 |
#include "StorageArea.h" |
| 42 |
|
42 |
|
|
|
43 |
#if PLATFORM(CHROMIUM) |
| 44 |
#include "TraceEvent.h" |
| 45 |
#endif |
| 46 |
|
| 43 |
#if USE(JSC) |
47 |
#if USE(JSC) |
| 44 |
namespace JSC { |
48 |
namespace JSC { |
| 45 |
class ExecState; |
49 |
class ExecState; |
|
Lines 94-99
class WebSocketHandshakeResponse;
a/Source/WebCore/inspector/InspectorInstrumentation.h_sec2
|
| 94 |
|
98 |
|
| 95 |
typedef pair<InstrumentingAgents*, int> InspectorInstrumentationCookie; |
99 |
typedef pair<InstrumentingAgents*, int> InspectorInstrumentationCookie; |
| 96 |
|
100 |
|
|
|
101 |
namespace TimelineEventType { |
| 102 |
static const char DecodeImage[] = "Decode Image"; |
| 103 |
static const char CachedResize[] = "Cached Resize"; |
| 104 |
static const char NonCachedResize[] = "Non-Cached Resize"; |
| 105 |
} |
| 106 |
|
| 97 |
class InspectorInstrumentation { |
107 |
class InspectorInstrumentation { |
| 98 |
public: |
108 |
public: |
| 99 |
static void didClearWindowObjectInWorld(Frame*, DOMWrapperWorld*); |
109 |
static void didClearWindowObjectInWorld(Frame*, DOMWrapperWorld*); |
|
Lines 144-149
public:
a/Source/WebCore/inspector/InspectorInstrumentation.h_sec3
|
| 144 |
static void didLoadXHR(const InspectorInstrumentationCookie&); |
154 |
static void didLoadXHR(const InspectorInstrumentationCookie&); |
| 145 |
static InspectorInstrumentationCookie willPaint(Frame*, GraphicsContext*, const LayoutRect&); |
155 |
static InspectorInstrumentationCookie willPaint(Frame*, GraphicsContext*, const LayoutRect&); |
| 146 |
static void didPaint(const InspectorInstrumentationCookie&); |
156 |
static void didPaint(const InspectorInstrumentationCookie&); |
|
|
157 |
static void willInspectOrphanEvent(const char*); |
| 158 |
static void didInspectOrphanEvent(const char*); |
| 147 |
static void willComposite(Page*); |
159 |
static void willComposite(Page*); |
| 148 |
static void didComposite(Page*); |
160 |
static void didComposite(Page*); |
| 149 |
static InspectorInstrumentationCookie willRecalculateStyle(Document*); |
161 |
static InspectorInstrumentationCookie willRecalculateStyle(Document*); |
|
Lines 313-318
private:
a/Source/WebCore/inspector/InspectorInstrumentation.h_sec4
|
| 313 |
static void didLoadXHRImpl(const InspectorInstrumentationCookie&); |
325 |
static void didLoadXHRImpl(const InspectorInstrumentationCookie&); |
| 314 |
static InspectorInstrumentationCookie willPaintImpl(InstrumentingAgents*, GraphicsContext*, const LayoutRect&, Frame*); |
326 |
static InspectorInstrumentationCookie willPaintImpl(InstrumentingAgents*, GraphicsContext*, const LayoutRect&, Frame*); |
| 315 |
static void didPaintImpl(const InspectorInstrumentationCookie&); |
327 |
static void didPaintImpl(const InspectorInstrumentationCookie&); |
|
|
328 |
static void willInspectOrphanEventImpl(const char*); |
| 329 |
static void didInspectOrphanEventImpl(const char*); |
| 316 |
static void willCompositeImpl(InstrumentingAgents*); |
330 |
static void willCompositeImpl(InstrumentingAgents*); |
| 317 |
static void didCompositeImpl(InstrumentingAgents*); |
331 |
static void didCompositeImpl(InstrumentingAgents*); |
| 318 |
static InspectorInstrumentationCookie willRecalculateStyleImpl(InstrumentingAgents*, Frame*); |
332 |
static InspectorInstrumentationCookie willRecalculateStyleImpl(InstrumentingAgents*, Frame*); |
|
Lines 835-840
inline void InspectorInstrumentation::didPaint(const InspectorInstrumentationCoo
a/Source/WebCore/inspector/InspectorInstrumentation.h_sec5
|
| 835 |
#endif |
849 |
#endif |
| 836 |
} |
850 |
} |
| 837 |
|
851 |
|
|
|
852 |
inline void InspectorInstrumentation::willInspectOrphanEvent(const char* event) |
| 853 |
{ |
| 854 |
#if PLATFORM(CHROMIUM) |
| 855 |
TRACE_EVENT_BEGIN0("webkit", event); |
| 856 |
#endif |
| 857 |
#if ENABLE(INSPECTOR) |
| 858 |
FAST_RETURN_IF_NO_FRONTENDS(void()); |
| 859 |
willInspectOrphanEventImpl(event); |
| 860 |
#endif |
| 861 |
} |
| 862 |
|
| 863 |
inline void InspectorInstrumentation::didInspectOrphanEvent(const char* event) |
| 864 |
{ |
| 865 |
#if PLATFORM(CHROMIUM) |
| 866 |
TRACE_EVENT_END0("webkit", event); |
| 867 |
#endif |
| 868 |
#if ENABLE(INSPECTOR) |
| 869 |
FAST_RETURN_IF_NO_FRONTENDS(void()); |
| 870 |
didInspectOrphanEventImpl(event); |
| 871 |
#endif |
| 872 |
} |
| 873 |
|
| 838 |
inline void InspectorInstrumentation::willComposite(Page* page) |
874 |
inline void InspectorInstrumentation::willComposite(Page* page) |
| 839 |
{ |
875 |
{ |
| 840 |
#if ENABLE(INSPECTOR) |
876 |
#if ENABLE(INSPECTOR) |