webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
Inspector::JSGlobalObjectConsoleAgent Class Referencefinal

#include <JSGlobalObjectConsoleAgent.h>

Inheritance diagram for Inspector::JSGlobalObjectConsoleAgent:
Inspector::InspectorConsoleAgent Inspector::InspectorAgentBase Inspector::ConsoleBackendDispatcherHandler Inspector::InspectorAgentBase Inspector::ConsoleBackendDispatcherHandler

Public Member Functions

 JSGlobalObjectConsoleAgent (AgentContext &, InspectorHeapAgent *)
 
virtual ~JSGlobalObjectConsoleAgent ()
 
void setMonitoringXHREnabled (ErrorString &, bool enabled) override
 
void addInspectedNode (ErrorString &, int nodeId) override
 
- 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
 
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
 
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 ()
 

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

Constructor & Destructor Documentation

◆ JSGlobalObjectConsoleAgent()

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

◆ ~JSGlobalObjectConsoleAgent()

virtual Inspector::JSGlobalObjectConsoleAgent::~JSGlobalObjectConsoleAgent ( )
inlinevirtual

Member Function Documentation

◆ addInspectedNode()

void Inspector::JSGlobalObjectConsoleAgent::addInspectedNode ( ErrorString errorString,
int  nodeId 
)
overridevirtual

◆ setMonitoringXHREnabled()

void Inspector::JSGlobalObjectConsoleAgent::setMonitoringXHREnabled ( ErrorString errorString,
bool  enabled 
)
overridevirtual

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