blob: 8bc1ca1f62fd32b840891dee3f6bb12b7716b9aa [file] [log] [blame]
<!-- -->
<!-- Copyright 2007 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. -->
<!-- Deferred binding rules for browser selection. -->
<!-- -->
<!-- This module is typically inherited via com.google.gwt.user.User -->
<!-- -->
<module>
<inherits name="com.google.gwt.core.Core"/>
<inherits name="com.google.gwt.dom.DOM"/>
<inherits name="com.google.gwt.safehtml.SafeHtml"/>
<!-- Default to string concatenation with inner HTML. -->
<!-- TODO(jlabanca): Research performance using different methods. -->
<replace-with class="com.google.gwt.dom.builder.shared.HtmlBuilderFactory">
<when-type-is class="com.google.gwt.dom.builder.shared.ElementBuilderFactory" />
</replace-with>
<!-- Some browsers perform DOM manipulation faster. -->
<replace-with class="com.google.gwt.dom.builder.client.DomBuilderFactory">
<when-type-is class="com.google.gwt.dom.builder.shared.ElementBuilderFactory" />
<any>
<when-property-is name="user.agent" value="safari" />
</any>
</replace-with>
<source path="client"/>
<source path="shared"/>
<public path="public" />
</module>