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

#include <DeviceOrientationController.h>

Inheritance diagram for WebCore::DeviceOrientationController:
WebCore::DeviceController WebCore::Supplement< Page > WebCore::Supplement< Page >

Public Member Functions

 DeviceOrientationController (DeviceOrientationClient *)
 
virtual ~DeviceOrientationController ()
 
void didChangeDeviceOrientation (DeviceOrientationData *)
 
DeviceOrientationClientdeviceOrientationClient ()
 
bool hasLastData () override
 
RefPtr< EventgetLastEvent () override
 
- Public Member Functions inherited from WebCore::DeviceController
 DeviceController (DeviceClient *)
 
virtual ~DeviceController ()
 
void addDeviceEventListener (DOMWindow *)
 
void removeDeviceEventListener (DOMWindow *)
 
void removeAllDeviceEventListeners (DOMWindow *)
 
void dispatchDeviceEvent (Event &)
 
bool isActive ()
 
DeviceClientclient ()
 
 DeviceController (DeviceClient *)
 
virtual ~DeviceController ()
 
void addDeviceEventListener (DOMWindow *)
 
void removeDeviceEventListener (DOMWindow *)
 
void removeAllDeviceEventListeners (DOMWindow *)
 
void dispatchDeviceEvent (Event &)
 
bool isActive ()
 
DeviceClientclient ()
 
- Public Member Functions inherited from WebCore::Supplement< Page >
virtual ~Supplement ()
 
virtual ~Supplement ()
 
virtual bool isRefCountedWrapper () const
 
virtual bool isRefCountedWrapper () const
 

Static Public Member Functions

static const char * supplementName ()
 
static DeviceOrientationControllerfrom (Page *)
 
static bool isActiveAt (Page *)
 
- Static Public Member Functions inherited from WebCore::Supplement< Page >
static void provideTo (Supplementable< Page > *host, const char *key, std::unique_ptr< Supplement< Page >> supplement)
 
static void provideTo (Supplementable< Page > *host, const char *key, std::unique_ptr< Supplement< Page >> supplement)
 
static Supplement< Page > * from (Supplementable< Page > *host, const char *key)
 
static Supplement< Page > * from (Supplementable< Page > *host, const char *key)
 

Additional Inherited Members

- Protected Member Functions inherited from WebCore::DeviceController
void fireDeviceEvent ()
 
void fireDeviceEvent ()
 
- Protected Attributes inherited from WebCore::DeviceController
HashCountedSet< RefPtr< DOMWindow > > m_listeners
 
HashCountedSet< RefPtr< DOMWindow > > m_lastEventListeners
 
DeviceClientm_client
 
Timer m_timer
 

Constructor & Destructor Documentation

◆ DeviceOrientationController()

WebCore::DeviceOrientationController::DeviceOrientationController ( DeviceOrientationClient client)
explicit

◆ ~DeviceOrientationController()

virtual WebCore::DeviceOrientationController::~DeviceOrientationController ( )
inlinevirtual

Member Function Documentation

◆ deviceOrientationClient()

DeviceOrientationClient * WebCore::DeviceOrientationController::deviceOrientationClient ( )

◆ didChangeDeviceOrientation()

void WebCore::DeviceOrientationController::didChangeDeviceOrientation ( DeviceOrientationData orientation)

◆ from()

DeviceOrientationController * WebCore::DeviceOrientationController::from ( Page page)
static

◆ getLastEvent()

RefPtr< Event > WebCore::DeviceOrientationController::getLastEvent ( )
overridevirtual

Reimplemented from WebCore::DeviceController.

◆ hasLastData()

bool WebCore::DeviceOrientationController::hasLastData ( )
overridevirtual

Reimplemented from WebCore::DeviceController.

◆ isActiveAt()

bool WebCore::DeviceOrientationController::isActiveAt ( Page page)
static

◆ supplementName()

const char * WebCore::DeviceOrientationController::supplementName ( )
static

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