@Override
public HandlerRegistration addTouchEndHandler(Widget w, TouchEndHandler handler) {
if (hasTouchSupport) {
return delegate.addTouchEndHandler(w, handler);
}
return w.addDomHandler(new TouchEndToMouseUpHandler(handler), MouseUpEvent.getType());
}