blob: f245f288d96d9dc997862dc531706cc76d3f5c17 [file]
<!-- -->
<!-- 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 ListBox's implementation. -->
<!-- -->
<!-- This module is typically inherited via com.google.gwt.user.User -->
<!-- -->
<module>
<inherits name="com.google.gwt.core.Core"/>
<inherits name="com.google.gwt.user.UserAgent"/>
<inherits name="com.google.gwt.user.DOM"/>
<!-- Fall through to this rule if the browser isn't Safari -->
<replace-with class="com.google.gwt.user.client.ui.ListBox.Impl">
<when-type-is class="com.google.gwt.user.client.ui.ListBox.Impl"/>
</replace-with>
<!-- Safari requires a different ListBox implementation -->
<replace-with class="com.google.gwt.user.client.ui.ListBox.ImplSafari">
<when-type-is class="com.google.gwt.user.client.ui.ListBox.Impl"/>
<when-property-is name="user.agent" value="safari"/>
</replace-with>
</module>