summaryrefslogtreecommitdiffstats
path: root/client/src/com/vaadin/VaadinBrowserSpecificOverrides.gwt.xml
blob: 09b901ec3846abf536f6c04a7bf6eced0d84d7f9 (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
48
49
50
51
52
53
54
55
56
<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.draganddropwrapper.VDragAndDropWrapper">
		<when-type-is class="com.vaadin.client.ui.draganddropwrapper.VDragAndDropWrapper" />
	</replace-with>

	<replace-with class="com.vaadin.client.ui.draganddropwrapper.VDragAndDropWrapperIE">
		<when-type-is class="com.vaadin.client.ui.draganddropwrapper.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>
	
	<replace-with class="com.vaadin.client.ui.VPopupImpl">
    	<when-type-is class="com.google.gwt.user.client.ui.impl.PopupImplMozilla" />
    	<when-property-is name="user.agent" value="gecko1_8"/>
    </replace-with>
    
    <replace-with class="com.vaadin.client.ui.VPopupImpl">
        <when-type-is class="com.google.gwt.user.client.ui.impl.PopupImpl" />
    </replace-with>

</module>