webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Inspector::InspectorConsoleAgent Class Referenceabstract

#include <InspectorConsoleAgent.h>

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

Public Member Functions

 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 Member Functions

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 ()
 

Protected Attributes

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
 

Constructor & Destructor Documentation

◆ InspectorConsoleAgent() [1/2]

Inspector::InspectorConsoleAgent::InspectorConsoleAgent ( AgentContext context,
InspectorHeapAgent heapAgent 
)

◆ ~InspectorConsoleAgent() [1/2]

Inspector::InspectorConsoleAgent::~InspectorConsoleAgent ( )
virtual

◆ InspectorConsoleAgent() [2/2]

Inspector::InspectorConsoleAgent::InspectorConsoleAgent ( AgentContext ,
InspectorHeapAgent  
)

◆ ~InspectorConsoleAgent() [2/2]

virtual Inspector::InspectorConsoleAgent::~InspectorConsoleAgent ( )
virtual

Member Function Documentation

◆ addConsoleMessage() [1/2]

void Inspector::InspectorConsoleAgent::addConsoleMessage ( std::unique_ptr< ConsoleMessage consoleMessage)
protected

◆ addConsoleMessage() [2/2]

void Inspector::InspectorConsoleAgent::addConsoleMessage ( std::unique_ptr< ConsoleMessage )
protected

◆ addInspectedNode() [1/2]

void Inspector::InspectorConsoleAgent::addInspectedNode ( ErrorString ,
int  nodeId 
)
overridepure virtual

◆ addInspectedNode() [2/2]

void Inspector::InspectorConsoleAgent::addInspectedNode ( ErrorString ,
int  nodeId 
)
overridepure virtual

◆ addMessageToConsole() [1/2]

void Inspector::InspectorConsoleAgent::addMessageToConsole ( std::unique_ptr< ConsoleMessage message)

◆ addMessageToConsole() [2/2]

void Inspector::InspectorConsoleAgent::addMessageToConsole ( std::unique_ptr< ConsoleMessage )

◆ clearMessages() [1/2]

void Inspector::InspectorConsoleAgent::clearMessages ( ErrorString )
overridevirtual

◆ clearMessages() [2/2]

void Inspector::InspectorConsoleAgent::clearMessages ( ErrorString )
overridevirtual

◆ count() [1/2]

void Inspector::InspectorConsoleAgent::count ( JSC::ExecState state,
Ref< ScriptArguments > &&  arguments 
)

◆ count() [2/2]

void Inspector::InspectorConsoleAgent::count ( JSC::ExecState ,
Ref< ScriptArguments > &&   
)

◆ didCreateFrontendAndBackend() [1/2]

void Inspector::InspectorConsoleAgent::didCreateFrontendAndBackend ( FrontendRouter ,
BackendDispatcher  
)
overridevirtual

◆ didCreateFrontendAndBackend() [2/2]

void Inspector::InspectorConsoleAgent::didCreateFrontendAndBackend ( FrontendRouter ,
BackendDispatcher  
)
overridevirtual

◆ disable() [1/2]

void Inspector::InspectorConsoleAgent::disable ( ErrorString )
overridevirtual

◆ disable() [2/2]

void Inspector::InspectorConsoleAgent::disable ( ErrorString )
overridevirtual

◆ discardValues() [1/2]

void Inspector::InspectorConsoleAgent::discardValues ( )
overridevirtual

Reimplemented from Inspector::InspectorAgentBase.

◆ discardValues() [2/2]

void Inspector::InspectorConsoleAgent::discardValues ( )
overridevirtual

Reimplemented from Inspector::InspectorAgentBase.

◆ enable() [1/2]

void Inspector::InspectorConsoleAgent::enable ( ErrorString )
overridevirtual

◆ enable() [2/2]

void Inspector::InspectorConsoleAgent::enable ( ErrorString )
overridevirtual

◆ enabled() [1/2]

bool Inspector::InspectorConsoleAgent::enabled ( ) const
inline

◆ enabled() [2/2]

bool Inspector::InspectorConsoleAgent::enabled ( ) const
inline

◆ reset() [1/2]

void Inspector::InspectorConsoleAgent::reset ( )

◆ reset() [2/2]

void Inspector::InspectorConsoleAgent::reset ( )

◆ setMonitoringXHREnabled() [1/2]

void Inspector::InspectorConsoleAgent::setMonitoringXHREnabled ( ErrorString ,
bool  enabled 
)
overridepure virtual

◆ setMonitoringXHREnabled() [2/2]

void Inspector::InspectorConsoleAgent::setMonitoringXHREnabled ( ErrorString ,
bool  enabled 
)
overridepure virtual

◆ startTiming() [1/2]

void Inspector::InspectorConsoleAgent::startTiming ( const String &  title)

◆ startTiming() [2/2]

void Inspector::InspectorConsoleAgent::startTiming ( const String &  title)

◆ stopTiming() [1/2]

void Inspector::InspectorConsoleAgent::stopTiming ( const String &  title,
Ref< ScriptCallStack > &&  callStack 
)

◆ stopTiming() [2/2]

void Inspector::InspectorConsoleAgent::stopTiming ( const String &  title,
Ref< ScriptCallStack > &&   
)

◆ takeHeapSnapshot() [1/2]

void Inspector::InspectorConsoleAgent::takeHeapSnapshot ( const String &  title)

◆ takeHeapSnapshot() [2/2]

void Inspector::InspectorConsoleAgent::takeHeapSnapshot ( const String &  title)

◆ willDestroyFrontendAndBackend() [1/2]

void Inspector::InspectorConsoleAgent::willDestroyFrontendAndBackend ( DisconnectReason  )
overridevirtual

◆ willDestroyFrontendAndBackend() [2/2]

void Inspector::InspectorConsoleAgent::willDestroyFrontendAndBackend ( DisconnectReason  )
overridevirtual

Member Data Documentation

◆ m_backendDispatcher

RefPtr< ConsoleBackendDispatcher > Inspector::InspectorConsoleAgent::m_backendDispatcher
protected

◆ m_consoleMessages

Vector< std::unique_ptr< ConsoleMessage > > Inspector::InspectorConsoleAgent::m_consoleMessages
protected

◆ m_counts

HashMap< String, unsigned > Inspector::InspectorConsoleAgent::m_counts
protected

◆ m_enabled

bool Inspector::InspectorConsoleAgent::m_enabled { false }
protected

◆ m_expiredConsoleMessageCount

int Inspector::InspectorConsoleAgent::m_expiredConsoleMessageCount { 0 }
protected

◆ m_frontendDispatcher

std::unique_ptr< ConsoleFrontendDispatcher > Inspector::InspectorConsoleAgent::m_frontendDispatcher
protected

◆ m_heapAgent

InspectorHeapAgent * Inspector::InspectorConsoleAgent::m_heapAgent
protected

◆ m_injectedScriptManager

InjectedScriptManager & Inspector::InspectorConsoleAgent::m_injectedScriptManager
protected

◆ m_previousMessage

ConsoleMessage * Inspector::InspectorConsoleAgent::m_previousMessage { nullptr }
protected

◆ m_times

HashMap< String, double > Inspector::InspectorConsoleAgent::m_times
protected

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