summaryrefslogtreecommitdiffstats
path: root/client/src/com/vaadin/VaadinBrowserSpecificOverrides.gwt.xml
blob: ceedde50a6634a616a41645d2707a134ee893630 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<module>
    <!-- This GWT module defines the browser specific overrides used by Vaadin -->

    <!-- Hint for WidgetSetBuilder not to automatically update the file -->
    <!-- WS Compiler: manually edited -->

    <!-- Fall through to this rule for everything but IE -->
    <replace-with
        class="com.vaadin.client.ui.upload.UploadIFrameOnloadStrategy">
        <when-type-is
            class="com.vaadin.client.ui.upload.UploadIFrameOnloadStrategy" />
    </replace-with>

    <replace-with
        class="com.vaadin.client.ui.upload.UploadIFrameOnloadStrategyIE">
        <when-type-is
            class="com.vaadin.client.ui.upload.UploadIFrameOnloadStrategy" />
        <any>
            <when-property-is name="user.agent" value="ie8" />
        </any>
    </replace-with>

    <!-- Fall through to this rule for everything but IE -->
    <replace-with class="com.vaadin.client.ui.VDragAndDropWrapper">
        <when-type-is class="com.vaadin.client.ui.VDragAndDropWrapper" />
    </replace-with>

    <replace-with class="com.vaadin.client.ui.VDragAndDropWrapperIE">
        <when-type-is class="com.vaadin.client.ui.VDragAndDropWrapper" />
        <any>
            <when-property-is name="user.agent" value="ie8" />
        </any>
    </replace-with>

    <!-- Fall through to this rule for everything but IE -->
    <replace-with class="com.vaadin.client.LayoutManager">
        <when-type-is class="com.vaadin.client.LayoutManager" />
    </replace-with>

    <replace-with class="com.vaadin.client.LayoutManagerIE8">
        <when-type-is class="com.vaadin.client.LayoutManager" />
        <any>
            <when-property-is name="user.agent" value="ie8" />
        </any>
    </replace-with>

</module>