webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | List of all members
WebCore::PositionError Class Reference

#include <PositionError.h>

Inheritance diagram for WebCore::PositionError:
WTF::RefCounted< PositionError > WTF::RefCounted< PositionError > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Types

enum  ErrorCode {
  PERMISSION_DENIED = 1, POSITION_UNAVAILABLE = 2, TIMEOUT = 3, PERMISSION_DENIED = 1,
  POSITION_UNAVAILABLE = 2, TIMEOUT = 3
}
 
enum  ErrorCode {
  PERMISSION_DENIED = 1, POSITION_UNAVAILABLE = 2, TIMEOUT = 3, PERMISSION_DENIED = 1,
  POSITION_UNAVAILABLE = 2, TIMEOUT = 3
}
 

Public Member Functions

ErrorCode code () const
 
const Stringmessage () const
 
void setIsFatal (bool isFatal)
 
bool isFatal () const
 
ErrorCode code () const
 
const Stringmessage () const
 
void setIsFatal (bool isFatal)
 
bool isFatal () const
 
- Public Member Functions inherited from WTF::RefCounted< PositionError >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 

Static Public Member Functions

static Ref< PositionErrorcreate (ErrorCode code, const String &message)
 
static Ref< PositionErrorcreate (ErrorCode code, const String &message)
 

Additional Inherited Members

- Protected Member Functions inherited from WTF::RefCounted< PositionError >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 

Member Enumeration Documentation

◆ ErrorCode [1/2]

Enumerator
PERMISSION_DENIED 
POSITION_UNAVAILABLE 
TIMEOUT 
PERMISSION_DENIED 
POSITION_UNAVAILABLE 
TIMEOUT 

◆ ErrorCode [2/2]

Enumerator
PERMISSION_DENIED 
POSITION_UNAVAILABLE 
TIMEOUT 
PERMISSION_DENIED 
POSITION_UNAVAILABLE 
TIMEOUT 

Member Function Documentation

◆ code() [1/2]

ErrorCode WebCore::PositionError::code ( ) const
inline

◆ code() [2/2]

ErrorCode WebCore::PositionError::code ( ) const
inline

◆ create() [1/2]

static Ref<PositionError> WebCore::PositionError::create ( ErrorCode  code,
const String message 
)
inlinestatic

◆ create() [2/2]

static Ref<PositionError> WebCore::PositionError::create ( ErrorCode  code,
const String message 
)
inlinestatic

◆ isFatal() [1/2]

bool WebCore::PositionError::isFatal ( ) const
inline

◆ isFatal() [2/2]

bool WebCore::PositionError::isFatal ( ) const
inline

◆ message() [1/2]

const String& WebCore::PositionError::message ( ) const
inline

◆ message() [2/2]

const String& WebCore::PositionError::message ( ) const
inline

◆ setIsFatal() [1/2]

void WebCore::PositionError::setIsFatal ( bool  isFatal)
inline

◆ setIsFatal() [2/2]

void WebCore::PositionError::setIsFatal ( bool  isFatal)
inline

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