Lines Matching refs:DeviceMotionController
28 #include "DeviceMotionController.h"
37 DeviceMotionController::DeviceMotionController(DeviceMotionClient* client)
44 PassOwnPtr<DeviceMotionController> DeviceMotionController::create(DeviceMotionClient* client)
46 return adoptPtr(new DeviceMotionController(client));
49 void DeviceMotionController::didChangeDeviceMotion(DeviceMotionData* deviceMotionData)
54 DeviceMotionClient* DeviceMotionController::deviceMotionClient()
59 bool DeviceMotionController::hasLastData()
64 PassRefPtr<Event> DeviceMotionController::getLastEvent()
69 const char* DeviceMotionController::supplementName()
71 return "DeviceMotionController";
74 DeviceMotionController* DeviceMotionController::from(Page* page)
76 return static_cast<DeviceMotionController*>(Supplement<Page>::from(page, supplementName()));
79 bool DeviceMotionController::isActiveAt(Page* page)
81 if (DeviceMotionController* self = DeviceMotionController::from(page))
88 DeviceMotionController::provideTo(page, DeviceMotionController::supplementName(), DeviceMotionController::create(client));