webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Attributes | List of all members
WebCore::WebConsoleAgent Class Reference

#include <WebConsoleAgent.h>

Inheritance diagram for WebCore::WebConsoleAgent:
Inspector::InspectorConsoleAgent Inspector::InspectorAgentBase Inspector::ConsoleBackendDispatcherHandler Inspector::InspectorAgentBase Inspector::ConsoleBackendDispatcherHandler WebCore::PageConsoleAgent WebCore::WorkerConsoleAgent

Public Member Functions

 WebConsoleAgent (Inspector::AgentContext &, Inspector::InspectorHeapAgent *)
 
virtual ~WebConsoleAgent ()
 
void setMonitoringXHREnabled (ErrorString &, bool enabled) final
 
void frameWindowDiscarded (DOMWindow *)
 
void didFinishXHRLoading (unsigned long requestIdentifier, const String &url, const String &sendURL, unsigned sendLineNumber, unsigned sendColumnNumber)
 
void didReceiveResponse (unsigned long requestIdentifier, const ResourceResponse &)
 
void didFailLoading (unsigned long requestIdentifier, const ResourceError &)
 
- Public Member Functions inherited from Inspector::InspectorConsoleAgent
 InspectorConsoleAgent (AgentContext &, InspectorHeapAgent *)
 
virtual ~InspectorConsoleAgent ()
 
void didCreateFrontendAndBackend (FrontendRouter *, BackendDispatcher *) override
 
void willDestroyFrontendAndBackend (DisconnectReason) override
 
void discardValues () override
 
void enable (ErrorString &) override
 
void disable (ErrorString &) override
 
void clearMessages (ErrorString &) override
 
void setMonitoringXHREnabled (ErrorString &, bool enabled) override=0
 
void addInspectedNode (ErrorString &, int nodeId) override=0
 
bool enabled () const
 
void reset ()
 
void addMessageToConsole (std::unique_ptr< ConsoleMessage >)
 
void startTiming (const String &title)
 
void stopTiming (const String &title, Ref< ScriptCallStack > &&)
 
void takeHeapSnapshot (const String &title)
 
void count (JSC::ExecState *, Ref< ScriptArguments > &&)
 
 InspectorConsoleAgent (AgentContext &, InspectorHeapAgent *)
 
virtual ~InspectorConsoleAgent ()
 
void didCreateFrontendAndBackend (FrontendRouter *, BackendDispatcher *) override
 
void willDestroyFrontendAndBackend (DisconnectReason) override
 
void discardValues () override
 
void enable (ErrorString &) override
 
void disable (ErrorString &) override
 
void clearMessages (ErrorString &) override
 
void setMonitoringXHREnabled (ErrorString &, bool enabled) override=0
 
void addInspectedNode (ErrorString &, int nodeId) override=0
 
bool enabled () const
 
void reset ()
 
void addMessageToConsole (std::unique_ptr< ConsoleMessage >)
 
void startTiming (const String &title)
 
void stopTiming (const String &title, Ref< ScriptCallStack > &&)
 
void takeHeapSnapshot (const String &title)
 
void count (JSC::ExecState *, Ref< ScriptArguments > &&)
 
- Public Member Functions inherited from Inspector::InspectorAgentBase
virtual ~InspectorAgentBase ()
 
String domainName () const
 
virtual void discardAgent ()
 
virtual ~InspectorAgentBase ()
 
String domainName () const
 
virtual void discardAgent ()
 

Protected Attributes

bool m_monitoringXHREnabled { false }
 
- Protected Attributes inherited from Inspector::InspectorConsoleAgent
InjectedScriptManagerm_injectedScriptManager
 
std::unique_ptr< ConsoleFrontendDispatcherm_frontendDispatcher
 
RefPtr< ConsoleBackendDispatcherm_backendDispatcher
 
InspectorHeapAgentm_heapAgent
 
ConsoleMessagem_previousMessage { nullptr }
 
Vector< std::unique_ptr< ConsoleMessage > > m_consoleMessages
 
int m_expiredConsoleMessageCount { 0 }
 
HashMap< String, unsigned > m_counts
 
HashMap< String, double > m_times
 
bool m_enabled { false }
 
- Protected Attributes inherited from Inspector::InspectorAgentBase
String m_name
 

Additional Inherited Members

- Protected Member Functions inherited from Inspector::InspectorConsoleAgent
void addConsoleMessage (std::unique_ptr< ConsoleMessage >)
 
void addConsoleMessage (std::unique_ptr< ConsoleMessage >)
 
- Protected Member Functions inherited from Inspector::InspectorAgentBase
 InspectorAgentBase (const String &name)
 
 InspectorAgentBase (const String &name)
 
- Protected Member Functions inherited from Inspector::ConsoleBackendDispatcherHandler
virtual ~ConsoleBackendDispatcherHandler ()
 
virtual ~ConsoleBackendDispatcherHandler ()
 

Constructor & Destructor Documentation

◆ WebConsoleAgent()

WebCore::WebConsoleAgent::WebConsoleAgent ( Inspector::AgentContext context,
Inspector::InspectorHeapAgent heapAgent 
)

◆ ~WebConsoleAgent()

virtual WebCore::WebConsoleAgent::~WebConsoleAgent ( )
inlinevirtual

Member Function Documentation

◆ didFailLoading()

void WebCore::WebConsoleAgent::didFailLoading ( unsigned long  requestIdentifier,
const ResourceError error 
)

◆ didFinishXHRLoading()

void WebCore::WebConsoleAgent::didFinishXHRLoading ( unsigned long  requestIdentifier,
const String url,
const String sendURL,
unsigned  sendLineNumber,
unsigned  sendColumnNumber 
)

◆ didReceiveResponse()

void WebCore::WebConsoleAgent::didReceiveResponse ( unsigned long  requestIdentifier,
const ResourceResponse response 
)

◆ frameWindowDiscarded()

void WebCore::WebConsoleAgent::frameWindowDiscarded ( DOMWindow window)

◆ setMonitoringXHREnabled()

void WebCore::WebConsoleAgent::setMonitoringXHREnabled ( ErrorString ,
bool  enabled 
)
final

Member Data Documentation

◆ m_monitoringXHREnabled

bool WebCore::WebConsoleAgent::m_monitoringXHREnabled { false }
protected

The documentation for this class was generated from the following files: