Ok i think i got it , here is the code in case someone needs it...
var pixelcoord1={x:coord.x*256,y:coord.y*256,z:zoom} ;
var pixelcoord2={x:(coord.x+1)*256,y:(coord.y+1)*256,z:zoom} ;
var worldcoord1 = new google.maps.Point(pixelcoord1.x/
Math.pow(2,zoom),pixelcoord1.y/Math.pow(2,zoom));
var worldcoord2 = new google.maps.Point(pixelcoord2.x/
Math.pow(2,zoom),pixelcoord2.y/Math.pow(2,zoom));
var projection = map.getProjection();
var sw = projection.fromPointToLatLng(worldcoord1);
var ne = projection.fromPointToLatLng(worldcoord2);