blob: d80e5c67e96b25e8b9a06a6c615e485b0a9a2540 [file] [log] [blame]
<!-- -->
<!-- Copyright 2011 Google Inc. -->
<!-- Licensed under the Apache License, Version 2.0 (the "License"); you -->
<!-- may not use this file except in compliance with the License. You may -->
<!-- may obtain a copy of the License at -->
<!-- -->
<!-- http://www.apache.org/licenses/LICENSE-2.0 -->
<!-- -->
<!-- Unless required by applicable law or agreed to in writing, software -->
<!-- distributed under the License is distributed on an "AS IS" BASIS, -->
<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -->
<!-- implied. License for the specific language governing permissions and -->
<!-- limitations under the License. -->
<module>
<inherits name="com.google.gwt.core.Core" />
<inherits name="com.google.gwt.useragent.UserAgent" />
<source path="client" />
<public path="public" />
<!-- Define the Geolocation support property. -->
<define-property name="geolocationSupport" values="maybe,no" />
<!-- Set the property to maybe -->
<set-property name="geolocationSupport" value="maybe" />
<!-- Older browsers do not support Geolocation -->
<set-property name="geolocationSupport" value="no">
<any>
<when-property-is name="user.agent" value="ie6" />
</any>
</set-property>
<replace-with class="com.google.gwt.geolocation.client.Geolocation.GeolocationSupportDetectorNo">
<when-type-is class="com.google.gwt.geolocation.client.Geolocation.GeolocationSupportDetector" />
<when-property-is name="geolocationSupport" value="no" />
</replace-with>
</module>