Hi, >> 2. In page 5, I still dont understand who played the role of >> "nsDOMDevicexxxEvent" in light sensor case. If you want to discuss the case before change by WebIDL then you can refer to the link as below from b2g18 branch. http://mxr.mozilla.org/mozilla-b2g18/source/js/xpconnect/src/event_impl_gen.conf.in#23
>> 1. In page 5 of the pdf you refer to, nsDOMDevicexxxEvent should be changed >> to nsIDOMDevicexxxEvent. nsDOMDevicexxxEvent is a class inherited from nsIDOMDevicexxxEvent. Sincerely yours. ----- 原始郵件 ----- 寄件者: [email protected] 收件者: [email protected] 寄件備份: 2013 10 月 12 星期六 上午 7:23:05 主旨: Re: [b2g] Sensor data flow for light sensor Hi, (Let us discuss "before webidl" topic for now.) When I searched "nsIDOMDevicexxxEvent" in the source. I only found 3 events which are nsIDOMDeviceMotionEvent.idl, nsIDOMDeviceOrientationEvent.idl and nsIDOMDeviceStorage.idl. I assume these are not related to the light sensor event which will not play a role for receiving the data from nsDeviceSensors and send it to the app layer (please correct me if i am wrong here). In this file (event_impl_gen.conf.in), I also did not find any clue about the light sensor. so here is a notice and a quesion 1. In page 5 of the pdf you refer to, nsDOMDevicexxxEvent should be changed to nsIDOMDevicexxxEvent. 2. In page 5, I still dont understand who played the role of "nsDOMDevicexxxEvent" in light sensor case. _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
