WebCoreStatistics.h [plain text]
#ifndef WebCoreStatistics_h
#define WebCoreStatistics_h
#include "WebKit.h"
class WebCoreStatistics : public IWebCoreStatistics {
public:
static WebCoreStatistics* createInstance();
protected:
WebCoreStatistics();
~WebCoreStatistics();
public:
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void** ppvObject);
virtual ULONG STDMETHODCALLTYPE AddRef(void);
virtual ULONG STDMETHODCALLTYPE Release(void);
virtual HRESULT STDMETHODCALLTYPE javaScriptObjectsCount(
UINT *count);
virtual HRESULT STDMETHODCALLTYPE javaScriptGlobalObjectsCount(
UINT *count);
virtual HRESULT STDMETHODCALLTYPE javaScriptProtectedObjectsCount(
UINT *count);
virtual HRESULT STDMETHODCALLTYPE javaScriptProtectedGlobalObjectsCount(
UINT *count);
virtual HRESULT STDMETHODCALLTYPE javaScriptProtectedObjectTypeCounts(
IPropertyBag2** typeNamesAndCounts);
virtual HRESULT STDMETHODCALLTYPE iconPageURLMappingCount(
UINT *count);
virtual HRESULT STDMETHODCALLTYPE iconRetainedPageURLCount(
UINT *count);
virtual HRESULT STDMETHODCALLTYPE iconRecordCount(
UINT *count);
virtual HRESULT STDMETHODCALLTYPE iconsWithDataCount(
UINT *count);
virtual HRESULT STDMETHODCALLTYPE cachedFontDataCount(
UINT *count);
virtual HRESULT STDMETHODCALLTYPE cachedFontDataInactiveCount(
UINT *count);
virtual HRESULT STDMETHODCALLTYPE purgeInactiveFontData();
virtual HRESULT STDMETHODCALLTYPE glyphPageCount(
UINT *count);
virtual HRESULT STDMETHODCALLTYPE javaScriptObjectTypeCounts( IPropertyBag2** typeNamesAndCounts);
virtual HRESULT STDMETHODCALLTYPE garbageCollectJavaScriptObjects();
virtual HRESULT STDMETHODCALLTYPE garbageCollectJavaScriptObjectsOnAlternateThreadForDebugging(BOOL waitUntilDone);
virtual HRESULT STDMETHODCALLTYPE setJavaScriptGarbageCollectorTimerEnabled(BOOL);
virtual HRESULT STDMETHODCALLTYPE shouldPrintExceptions(BOOL*);
virtual HRESULT STDMETHODCALLTYPE setShouldPrintExceptions(BOOL);
virtual HRESULT STDMETHODCALLTYPE startIgnoringWebCoreNodeLeaks();
virtual HRESULT STDMETHODCALLTYPE stopIgnoringWebCoreNodeLeaks();
virtual HRESULT STDMETHODCALLTYPE memoryStatistics( IPropertyBag** statistics);
virtual HRESULT STDMETHODCALLTYPE returnFreeMemoryToSystem();
virtual HRESULT STDMETHODCALLTYPE cachedPageCount( INT *count);
virtual HRESULT STDMETHODCALLTYPE cachedFrameCount( INT *count);
protected:
ULONG m_refCount;
};
#endif