版权声明:打劫来的原创!!未经允许可随便转载。【 May you do good and not evil. May you find forgiveness for yourself and forgive others. May you share freely,never taking more than you give. 】 https://blog.csdn.net/hunter___/article/details/84671803
ipdl,
PContent.ipdl
child:
GeolocationUpdate(GeoPosition somewhere);
GeolocationError(uint16_t errorCode);
parent:
AddGeolocationListener(Principal principal, bool highAccuracy);
RemoveGeolocationListener();
SetGeolocationHigherAccuracy(bool enable);
webidl:
./gecko/dom/webidl/Geolocation.webidl
./gecko/dom/webidl/Position.webidl
webidl 实现
gecko/dom/geolocation$ grep -inr getCurrentPosition