blob: 5a5853287b23f6b610b25fe8ef851a8fbc95c7a4 [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. -->
<!-- -->
<!-- This module is required in order to use an Image in its clipped state, -->
<!-- or an ImageBundle. -->
<!-- -->
<!-- The implementation differs between Internet Explorer and other -->
<!-- browsers, so we use deferred binding to create the correct instance of -->
<!-- the class based on the user's browser. -->
<!-- -->
<!-- This module is interited by the User module, so it will be available -->
<!-- to all GWT applications. -->
<module>
<inherits name="com.google.gwt.core.Core" />
<inherits name="com.google.gwt.user.UserAgent" />
<!-- IE6 needs a different implementation. IE8 does not. -->
<replace-with
class="com.google.gwt.user.client.ui.impl.ClippedImageImplIE6">
<when-type-is
class="com.google.gwt.user.client.ui.impl.ClippedImageImpl" />
<when-property-is name="user.agent" value="ie6" />
</replace-with>
</module>