webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
WebCore::PageConsoleClient Class Referencefinal

#include <PageConsoleClient.h>

Inheritance diagram for WebCore::PageConsoleClient:
JSC::ConsoleClient JSC::ConsoleClient

Public Member Functions

 PageConsoleClient (Page &)
 
virtual ~PageConsoleClient ()
 
void addMessage (MessageSource, MessageLevel, const String &message, const String &sourceURL, unsigned lineNumber, unsigned columnNumber, RefPtr< Inspector::ScriptCallStack > &&=nullptr, JSC::ExecState *=nullptr, unsigned long requestIdentifier=0)
 
void addMessage (MessageSource, MessageLevel, const String &message, Ref< Inspector::ScriptCallStack > &&)
 
void addMessage (MessageSource, MessageLevel, const String &message, unsigned long requestIdentifier=0, Document *=nullptr)
 
 PageConsoleClient (Page &)
 
virtual ~PageConsoleClient ()
 
void addMessage (MessageSource, MessageLevel, const String &message, const String &sourceURL, unsigned lineNumber, unsigned columnNumber, RefPtr< Inspector::ScriptCallStack > &&=nullptr, JSC::ExecState *=nullptr, unsigned long requestIdentifier=0)
 
void addMessage (MessageSource, MessageLevel, const String &message, Ref< Inspector::ScriptCallStack > &&)
 
void addMessage (MessageSource, MessageLevel, const String &message, unsigned long requestIdentifier=0, Document *=nullptr)
 
- Public Member Functions inherited from JSC::ConsoleClient
virtual ~ConsoleClient ()
 
void logWithLevel (ExecState *, Ref< Inspector::ScriptArguments > &&, MessageLevel)
 
void clear (ExecState *)
 
void dir (ExecState *, Ref< Inspector::ScriptArguments > &&)
 
void dirXML (ExecState *, Ref< Inspector::ScriptArguments > &&)
 
void table (ExecState *, Ref< Inspector::ScriptArguments > &&)
 
void trace (ExecState *, Ref< Inspector::ScriptArguments > &&)
 
void assertion (ExecState *, Ref< Inspector::ScriptArguments > &&)
 
void group (ExecState *, Ref< Inspector::ScriptArguments > &&)
 
void groupCollapsed (ExecState *, Ref< Inspector::ScriptArguments > &&)
 
void groupEnd (ExecState *, Ref< Inspector::ScriptArguments > &&)
 
virtual void messageWithTypeAndLevel (MessageType, MessageLevel, JSC::ExecState *, Ref< Inspector::ScriptArguments > &&)=0
 
virtual void count (ExecState *, Ref< Inspector::ScriptArguments > &&)=0
 
virtual void profile (ExecState *, const String &title)=0
 
virtual void profileEnd (ExecState *, const String &title)=0
 
virtual void takeHeapSnapshot (ExecState *, const String &title)=0
 
virtual void time (ExecState *, const String &title)=0
 
virtual void timeEnd (ExecState *, const String &title)=0
 
virtual void timeStamp (ExecState *, Ref< Inspector::ScriptArguments > &&)=0
 
virtual ~ConsoleClient ()
 
void logWithLevel (ExecState *, Ref< Inspector::ScriptArguments > &&, MessageLevel)
 
void clear (ExecState *)
 
void dir (ExecState *, Ref< Inspector::ScriptArguments > &&)
 
void dirXML (ExecState *, Ref< Inspector::ScriptArguments > &&)
 
void table (ExecState *, Ref< Inspector::ScriptArguments > &&)
 
void trace (ExecState *, Ref< Inspector::ScriptArguments > &&)
 
void assertion (ExecState *, Ref< Inspector::ScriptArguments > &&)
 
void group (ExecState *, Ref< Inspector::ScriptArguments > &&)
 
void groupCollapsed (ExecState *, Ref< Inspector::ScriptArguments > &&)
 
void groupEnd (ExecState *, Ref< Inspector::ScriptArguments > &&)
 
virtual void messageWithTypeAndLevel (MessageType, MessageLevel, JSC::ExecState *, Ref< Inspector::ScriptArguments > &&)=0
 
virtual void count (ExecState *, Ref< Inspector::ScriptArguments > &&)=0
 
virtual void profile (ExecState *, const String &title)=0
 
virtual void profileEnd (ExecState *, const String &title)=0
 
virtual void takeHeapSnapshot (ExecState *, const String &title)=0
 
virtual void time (ExecState *, const String &title)=0
 
virtual void timeEnd (ExecState *, const String &title)=0
 
virtual void timeStamp (ExecState *, Ref< Inspector::ScriptArguments > &&)=0
 

Static Public Member Functions

static bool shouldPrintExceptions ()
 
static void setShouldPrintExceptions (bool)
 
static void mute ()
 
static void unmute ()
 
static bool shouldPrintExceptions ()
 
static void setShouldPrintExceptions (bool)
 
static void mute ()
 
static void unmute ()
 
- Static Public Member Functions inherited from JSC::ConsoleClient
static JS_EXPORT_PRIVATE void printConsoleMessage (MessageSource, MessageType, MessageLevel, const String &message, const String &url, unsigned lineNumber, unsigned columnNumber)
 
static JS_EXPORT_PRIVATE void printConsoleMessageWithArguments (MessageSource, MessageType, MessageLevel, JSC::ExecState *, Ref< Inspector::ScriptArguments > &&)
 
static JS_EXPORT_PRIVATE void printConsoleMessage (MessageSource, MessageType, MessageLevel, const String &message, const String &url, unsigned lineNumber, unsigned columnNumber)
 
static JS_EXPORT_PRIVATE void printConsoleMessageWithArguments (MessageSource, MessageType, MessageLevel, JSC::ExecState *, Ref< Inspector::ScriptArguments > &&)
 

Protected Member Functions

void messageWithTypeAndLevel (MessageType, MessageLevel, JSC::ExecState *, Ref< Inspector::ScriptArguments > &&) override
 
void count (JSC::ExecState *, Ref< Inspector::ScriptArguments > &&) override
 
void profile (JSC::ExecState *, const String &title) override
 
void profileEnd (JSC::ExecState *, const String &title) override
 
void takeHeapSnapshot (JSC::ExecState *, const String &title) override
 
void time (JSC::ExecState *, const String &title) override
 
void timeEnd (JSC::ExecState *, const String &title) override
 
void timeStamp (JSC::ExecState *, Ref< Inspector::ScriptArguments > &&) override
 
void messageWithTypeAndLevel (MessageType, MessageLevel, JSC::ExecState *, Ref< Inspector::ScriptArguments > &&) override
 
void count (JSC::ExecState *, Ref< Inspector::ScriptArguments > &&) override
 
void profile (JSC::ExecState *, const String &title) override
 
void profileEnd (JSC::ExecState *, const String &title) override
 
void takeHeapSnapshot (JSC::ExecState *, const String &title) override
 
void time (JSC::ExecState *, const String &title) override
 
void timeEnd (JSC::ExecState *, const String &title) override
 
void timeStamp (JSC::ExecState *, Ref< Inspector::ScriptArguments > &&) override
 

Constructor & Destructor Documentation

◆ PageConsoleClient() [1/2]

WebCore::PageConsoleClient::PageConsoleClient ( Page page)
explicit

◆ ~PageConsoleClient() [1/2]

WebCore::PageConsoleClient::~PageConsoleClient ( )
virtual

◆ PageConsoleClient() [2/2]

WebCore::PageConsoleClient::PageConsoleClient ( Page )
explicit

◆ ~PageConsoleClient() [2/2]

virtual WebCore::PageConsoleClient::~PageConsoleClient ( )
virtual

Member Function Documentation

◆ addMessage() [1/6]

void WebCore::PageConsoleClient::addMessage ( MessageSource  source,
MessageLevel  level,
const String message,
const String sourceURL,
unsigned  lineNumber,
unsigned  columnNumber,
RefPtr< Inspector::ScriptCallStack > &&  callStack = nullptr,
JSC::ExecState state = nullptr,
unsigned long  requestIdentifier = 0 
)

◆ addMessage() [2/6]

void WebCore::PageConsoleClient::addMessage ( MessageSource  ,
MessageLevel  ,
const String message,
const String sourceURL,
unsigned  lineNumber,
unsigned  columnNumber,
RefPtr< Inspector::ScriptCallStack > &&  = nullptr,
JSC::ExecState = nullptr,
unsigned long  requestIdentifier = 0 
)

◆ addMessage() [3/6]

void WebCore::PageConsoleClient::addMessage ( MessageSource  ,
MessageLevel  ,
const String message,
Ref< Inspector::ScriptCallStack > &&   
)

◆ addMessage() [4/6]

void WebCore::PageConsoleClient::addMessage ( MessageSource  source,
MessageLevel  level,
const String message,
Ref< Inspector::ScriptCallStack > &&  callStack 
)

◆ addMessage() [5/6]

void WebCore::PageConsoleClient::addMessage ( MessageSource  ,
MessageLevel  ,
const String message,
unsigned long  requestIdentifier = 0,
Document = nullptr 
)

◆ addMessage() [6/6]

void WebCore::PageConsoleClient::addMessage ( MessageSource  source,
MessageLevel  level,
const String message,
unsigned long  requestIdentifier = 0,
Document document = nullptr 
)

◆ count() [1/2]

void WebCore::PageConsoleClient::count ( JSC::ExecState exec,
Ref< Inspector::ScriptArguments > &&  arguments 
)
overrideprotected

◆ count() [2/2]

void WebCore::PageConsoleClient::count ( JSC::ExecState ,
Ref< Inspector::ScriptArguments > &&   
)
overrideprotected

◆ messageWithTypeAndLevel() [1/2]

void WebCore::PageConsoleClient::messageWithTypeAndLevel ( MessageType  type,
MessageLevel  level,
JSC::ExecState exec,
Ref< Inspector::ScriptArguments > &&  arguments 
)
overrideprotected

◆ messageWithTypeAndLevel() [2/2]

void WebCore::PageConsoleClient::messageWithTypeAndLevel ( MessageType  ,
MessageLevel  ,
JSC::ExecState ,
Ref< Inspector::ScriptArguments > &&   
)
overrideprotected

◆ mute() [1/2]

void WebCore::PageConsoleClient::mute ( )
static

◆ mute() [2/2]

static void WebCore::PageConsoleClient::mute ( )
static

◆ profile() [1/2]

void WebCore::PageConsoleClient::profile ( JSC::ExecState exec,
const String title 
)
overrideprotected

◆ profile() [2/2]

void WebCore::PageConsoleClient::profile ( JSC::ExecState ,
const String title 
)
overrideprotected

◆ profileEnd() [1/2]

void WebCore::PageConsoleClient::profileEnd ( JSC::ExecState exec,
const String title 
)
overrideprotected

◆ profileEnd() [2/2]

void WebCore::PageConsoleClient::profileEnd ( JSC::ExecState ,
const String title 
)
overrideprotected

◆ setShouldPrintExceptions() [1/2]

static void WebCore::PageConsoleClient::setShouldPrintExceptions ( bool  )
static

◆ setShouldPrintExceptions() [2/2]

void WebCore::PageConsoleClient::setShouldPrintExceptions ( bool  print)
static

◆ shouldPrintExceptions() [1/2]

static bool WebCore::PageConsoleClient::shouldPrintExceptions ( )
static

◆ shouldPrintExceptions() [2/2]

bool WebCore::PageConsoleClient::shouldPrintExceptions ( )
static

◆ takeHeapSnapshot() [1/2]

void WebCore::PageConsoleClient::takeHeapSnapshot ( JSC::ExecState ,
const String title 
)
overrideprotected

◆ takeHeapSnapshot() [2/2]

void WebCore::PageConsoleClient::takeHeapSnapshot ( JSC::ExecState ,
const String title 
)
overrideprotected

◆ time() [1/2]

void WebCore::PageConsoleClient::time ( JSC::ExecState ,
const String title 
)
overrideprotected

◆ time() [2/2]

void WebCore::PageConsoleClient::time ( JSC::ExecState ,
const String title 
)
overrideprotected

◆ timeEnd() [1/2]

void WebCore::PageConsoleClient::timeEnd ( JSC::ExecState exec,
const String title 
)
overrideprotected

◆ timeEnd() [2/2]

void WebCore::PageConsoleClient::timeEnd ( JSC::ExecState ,
const String title 
)
overrideprotected

◆ timeStamp() [1/2]

void WebCore::PageConsoleClient::timeStamp ( JSC::ExecState ,
Ref< Inspector::ScriptArguments > &&   
)
overrideprotected

◆ timeStamp() [2/2]

void WebCore::PageConsoleClient::timeStamp ( JSC::ExecState ,
Ref< Inspector::ScriptArguments > &&  arguments 
)
overrideprotected

◆ unmute() [1/2]

void WebCore::PageConsoleClient::unmute ( )
static

◆ unmute() [2/2]

static void WebCore::PageConsoleClient::unmute ( )
static

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