[Webkit-unassigned] [Bug 89197] [Chromium] Implements DeviceMotion
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 9 11:01:12 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=89197
--- Comment #34 from Darin Fisher (:fishd, Google) <fishd at chromium.org> 2012-08-09 11:01:35 PST ---
(In reply to comment #33)
...
> Here's a proposal for a Platform interface:
>
> class WebDeviceMotionData;
>
> class WebDeviceMotionDetectorClient {
> public:
> virtual void didDetectDeviceMotion(const WebDeviceMotionData&) = 0;
> };
>
> class WebDeviceMotionDetector {
> public:
> virtual void start(WebDeviceMotionDetectorClient*) = 0;
> virtual void stop() = 0;
> };
Oh, and add the following function to Platform:
class Platform {
public:
...
virtual WebDeviceMotionDetector* deviceMotionDetector() { return 0; }
};
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list