summaryrefslogtreecommitdiffstats
path: root/client/src/com/vaadin/terminal/gwt/VaadinBrowserSpecificOverrides.gwt.xml
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-08-13 18:28:50 +0300
committerArtur Signell <artur@vaadin.com>2012-08-13 18:34:56 +0300
commit14dd4d0b28c76eb994b181a4570f3adec53342e6 (patch)
treec00784c1c933abe80298dd76ca102f9348bc5c6f /client/src/com/vaadin/terminal/gwt/VaadinBrowserSpecificOverrides.gwt.xml
parent9bc14b90a3ec265587562f2886ec3da1cd904f44 (diff)
downloadvaadin-framework-14dd4d0b28c76eb994b181a4570f3adec53342e6.tar.gz
vaadin-framework-14dd4d0b28c76eb994b181a4570f3adec53342e6.zip
Moved client files to a client src folder (#9299)
Diffstat (limited to 'client/src/com/vaadin/terminal/gwt/VaadinBrowserSpecificOverrides.gwt.xml')
-rw-r--r--client/src/com/vaadin/terminal/gwt/VaadinBrowserSpecificOverrides.gwt.xml53
1 files changed, 53 insertions, 0 deletions
diff --git a/client/src/com/vaadin/terminal/gwt/VaadinBrowserSpecificOverrides.gwt.xml b/client/src/com/vaadin/terminal/gwt/VaadinBrowserSpecificOverrides.gwt.xml
new file mode 100644
index 0000000000..b5ab61df64
--- /dev/null
+++ b/client/src/com/vaadin/terminal/gwt/VaadinBrowserSpecificOverrides.gwt.xml
@@ -0,0 +1,53 @@
+<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.terminal.gwt.client.ui.upload.UploadIFrameOnloadStrategy">
+ <when-type-is
+ class="com.vaadin.terminal.gwt.client.ui.upload.UploadIFrameOnloadStrategy" />
+ </replace-with>
+
+ <replace-with
+ class="com.vaadin.terminal.gwt.client.ui.upload.UploadIFrameOnloadStrategyIE">
+ <when-type-is
+ class="com.vaadin.terminal.gwt.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.terminal.gwt.client.ui.draganddropwrapper.VDragAndDropWrapper">
+ <when-type-is class="com.vaadin.terminal.gwt.client.ui.draganddropwrapper.VDragAndDropWrapper" />
+ </replace-with>
+
+ <replace-with class="com.vaadin.terminal.gwt.client.ui.draganddropwrapper.VDragAndDropWrapperIE">
+ <when-type-is class="com.vaadin.terminal.gwt.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.terminal.gwt.client.LayoutManager">
+ <when-type-is class="com.vaadin.terminal.gwt.client.LayoutManager" />
+ </replace-with>
+
+ <replace-with class="com.vaadin.terminal.gwt.client.LayoutManagerIE8">
+ <when-type-is class="com.vaadin.terminal.gwt.client.LayoutManager" />
+ <any>
+ <when-property-is name="user.agent" value="ie8" />
+ </any>
+ </replace-with>
+
+ <!-- Workaround for #6682. Remove when fixed in GWT. -->
+ <replace-with class="com.google.gwt.dom.client.VaadinDOMImplSafari">
+ <when-type-is class="com.google.gwt.dom.client.DOMImpl" />
+ <when-property-is name="user.agent" value="safari" />
+ </replace-with>
+
+</module>